diff --git a/assets/css/abstracts/_variables.scss b/assets/css/abstracts/_variables.scss
index 2ad4ac5..b773860 100644
--- a/assets/css/abstracts/_variables.scss
+++ b/assets/css/abstracts/_variables.scss
@@ -5,7 +5,7 @@ $light: #fffff0;
// Fonts
$default-font: "Domitian", "Palatino Linotype", "Book Antiqua", palatino,
garamond, serif;
-$code-font: "Input Mono", "Lucida Console", monaco, monospace;
+$code-font: "Input Mono", "Lucida Console", monaco, "Courier New", monospace;
// Breakpoints
$breakpoints: (
diff --git a/assets/css/base/_typography.scss b/assets/css/base/_typography.scss
index 2528e55..00ce614 100644
--- a/assets/css/base/_typography.scss
+++ b/assets/css/base/_typography.scss
@@ -56,6 +56,7 @@ h5,
h6 {
font-weight: normal;
margin: 0;
+ font-variant-numeric: slashed-zero;
}
a {
diff --git a/assets/css/feeds.scss b/assets/css/feeds.scss
new file mode 100644
index 0000000..1d9509d
--- /dev/null
+++ b/assets/css/feeds.scss
@@ -0,0 +1,39 @@
+@import "abstracts/variables";
+@import "abstracts/mixins";
+
+@import "base/typography";
+
+.feed {
+ padding: 10px 20px;
+ background-color: $light;
+ color: $dark;
+ margin: 0 auto;
+ max-width: 800px;
+ font-weight: normal;
+ text-align: center;
+ gap: 2em;
+ display: flex;
+ flex-direction: column;
+}
+
+.nav__notice {
+ display: block;
+ border: 2px solid $dark;
+ padding: 20px;
+ width: 80%;
+ margin-inline: auto;
+}
+
+.summary {
+ font-style: italic;
+}
+
+.feed__header {
+ padding-block-end: 1em;
+ margin-block-end: 1em;
+ border-block-end: 1px solid $dark;
+}
+
+.feed__item {
+ margin-block: 1em;
+}
diff --git a/assets/css/pages/_organisations-list.scss b/assets/css/pages/_organisations-list.scss
index 97ed1d3..348c93b 100644
--- a/assets/css/pages/_organisations-list.scss
+++ b/assets/css/pages/_organisations-list.scss
@@ -1,6 +1,8 @@
.organisations-table {
inline-size: 80% !important;
+
& thead {
+ z-index: 1;
position: sticky;
& th {
@@ -10,9 +12,15 @@
}
}
+ &__logo {
+ max-inline-size: 5em;
+ max-block-size: 5em;
+ fill: $dark;
+ }
+
&__items-icon {
padding: 1em;
- font-size: 1.4em;
+ font-size: 0.8em;
text-align: center;
float: inline-start;
padding-inline-end: 1em;
diff --git a/assets/css/pages/_single-organisation.scss b/assets/css/pages/_single-organisation.scss
index ba22fa2..5182f60 100644
--- a/assets/css/pages/_single-organisation.scss
+++ b/assets/css/pages/_single-organisation.scss
@@ -102,13 +102,6 @@
}
}
-.organisation-table {
- &__logo {
- max-inline-size: 5em;
- max-block-size: 5em;
- }
-}
-
.timeline__legend {
inline-size: fit-content;
display: flex;
diff --git a/assets/css/pages/_single.scss b/assets/css/pages/_single.scss
index 2882684..b788bcf 100644
--- a/assets/css/pages/_single.scss
+++ b/assets/css/pages/_single.scss
@@ -62,6 +62,11 @@
align-content: center;
position: relative;
+ &--fit {
+ background-size: contain;
+ padding: 1em;
+ }
+
& .attr {
position: absolute;
background-color: $dark;
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index e1c2d59..0f9c2eb 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -115,6 +115,12 @@
href="{{ $printStylesheet.Permalink }}"
integrity="{{ $printStylesheet.Data.Integrity | html }}"
/>
+ {{- $feedsStylesheet := resources.Get "css/feeds.scss" }}
+ {{- $feedsStylesheet := $feedsStylesheet | css.Sass }}
+
{{- if .Param "math" -}}
{{- partialCached "math.html" . -}}
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index 871e41d..401d5e6 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -11,11 +11,13 @@
{{- $pages = $pages | first $limit -}}
{{- end -}}
{{- printf "" | safeHTML }}
- Now known as: {{ . }}{{ .Title | safeHTML }}
- {{ if eq .Type "blog" }}
- {{ with .GetPage "blog/posts" }}
+
+ {{ .Title | safeHTML }}
+ {{ if eq .Type "blog" }}
+ {{ with .GetPage "blog/posts" }}
{{ range .AlternativeOutputFormats -}}
-
-
{{ .Content }}
-
+
+
+
+
{{ end }}
- {{ end }}
- {{ else }}
- {{ range .AlternativeOutputFormats -}}
-
-
-
+ {{ end }}
+ {{ else }}
+ {{ range .AlternativeOutputFormats -}}
+
+
+
+ {{ end }}
{{ end }}
- {{ end }}
{{ if ( .Params.markup_title ) }}{{ .Params.markup_title | safeHTML }}{{ else }}{{ .Title }}{{ end }}
- {{ .Title | safeHTML }}.
- {{- .Content -}}
-
+ {{ default .Title .Params.markup_title | .Page.RenderString }}
+
+ {{ .Title | safeHTML }}.
+ {{- .Content -}}
+ {{ if ( .Params.markup_title ) }}{{ .Params.markup_title | safeHTML }}{{ else }}{{ .Title }}{{ end }}
+ {{ default .Title .Params.markup_title | .Page.RenderString }}
{{- end -}}
diff --git a/layouts/partials/cite.html b/layouts/partials/cite.html
index fb2d928..cf39d3e 100644
--- a/layouts/partials/cite.html
+++ b/layouts/partials/cite.html
@@ -12,8 +12,11 @@
*/ -}}
+{{- $citeText := default .Params.cite ( .Scratch.Get "cite" ) }}
+{{- $replacedCite := replaceRE `^([a-z]+?://)?(www)?` "" $citeText }}
+{{- $startOfCite := delimit ( findRE `^([a-z]+?://)?(www)?` $citeText 1 ) "" }}
+{{- $cite := replaceRE `^` $startOfCite ( trim ( $replacedCite | .Page.RenderString ) "\r\n" ) -}}
-{{- $cite := trim ( default .Params.cite ( .Scratch.Get "cite" ) | .Page.RenderString ) "\r\n" -}}
{{- $title := trim ( default .Params.title ( .Scratch.Get "title" ) | .Page.RenderString ) "\r\n" -}}
{{- $titleLang := default .Params.titleLang ( .Scratch.Get "titleLang" ) -}}
{{- $titleTr := default .Params.titleTr ( .Scratch.Get "titleTr" ) -}}
@@ -45,7 +48,6 @@
{{- end -}}
-
{{- $itemType := default "CreativeWork" $schemaType -}}
{{- if ( or ( in $.Site.Data.itemtypes $itemType ) ( eq .Params.suppress "true" ) ) -}}
{{- with .Params.href -}}
diff --git a/layouts/partials/cv/organisations/organisations-table.html b/layouts/partials/cv/organisations/organisations-table.html
index bb3d3b7..94cd0b7 100644
--- a/layouts/partials/cv/organisations/organisations-table.html
+++ b/layouts/partials/cv/organisations/organisations-table.html
@@ -29,13 +29,11 @@
{{- end -}}
{{- else -}}
{{- if .Params.featured_image -}}
-
{{- range $parents -}}{{ partial "cv/organisations/recursive-children.html" . }}
{{ end }}
{{- else -}}
- {{- .Params.featured_image -}}
+
{{- end -}}
- ">
{{- end -}}
{{- end -}}
@@ -48,7 +46,7 @@
{{- else -}}
{{- if .Params.TitleLang -}}{{- end -}}
- {{- with .Params.markup_title -}}{{- . | safeHTML -}}{{- else -}}{{- $organisation_title | safeHTML -}}{{- end -}}
+ {{- with .Params.markup_title -}}{{- . | $.Page.RenderString -}}{{- else -}}{{- $organisation_title | $.Page.RenderString -}}{{- end -}}
{{- if .Params.TitleLang -}}{{- end -}}
{{- end -}}
diff --git a/layouts/partials/cv/organisations/recursive-children.html b/layouts/partials/cv/organisations/recursive-children.html
index 5b59cf6..34e8770 100644
--- a/layouts/partials/cv/organisations/recursive-children.html
+++ b/layouts/partials/cv/organisations/recursive-children.html
@@ -1,22 +1,18 @@
{{- if ( not ( and ( .Params.redact ) ( ne $.Site.Params.redact "show" ) ) ) -}}
-
- {{- partialCached "cv/organisations/recursive-children.html" . .Title -}}
-
- {{- end -}}
+
+ {{ default .Title .Params.markup_title | .Page.RenderString }}
+
+ {{- range .Sections -}}
+
+ {{- partialCached "cv/organisations/recursive-children.html" . .Title -}}
+
+ {{- end -}}
{{- end -}}
-
- {{- partialCached "redact-black.html" . -}}
-
-
+
+ {{- partialCached "redact-black.html" . -}}
+
+
{{ . | safeHTML }}
+{{ . | $.pc.Page.RenderString }}
{{ end }}