diff --git a/layouts/blog/section.html b/layouts/blog/section.html index 6b8506e..01c0748 100644 --- a/layouts/blog/section.html +++ b/layouts/blog/section.html @@ -1,5 +1,6 @@ {{ define "title" }} - {{ .Page.Title | plainify }} | {{ .Site.Title }} + {{ .Page.Title | plainify }} | + {{ .Site.Title }} {{ end }} {{ define "main-class" }}--section layouts-blog-section{{ end }} @@ -12,38 +13,60 @@ {{ define "main-header" }}
-

{{ .Title | safeHTML }} - {{ if eq .Type "blog" }} - {{ with .GetPage "blog/posts" }} +

+ {{ .Title | safeHTML }} + {{ if eq .Type "blog" }} + {{ with .GetPage "blog/posts" }} {{ range .AlternativeOutputFormats -}} - - RSS feed + + RSS feed {{ end }} - {{ end }} - {{ else }} - {{ range .AlternativeOutputFormats -}} - - RSS feed - + {{ end }} + {{ else }} + {{ range .AlternativeOutputFormats -}} + + RSS feed + + {{ end }} {{ end }} - {{ end }}

{{ .Content }} - + +
@@ -51,10 +74,10 @@ {{ define "main-body" }} {{ if eq .Type "blog" }} - {{ with .GetPage "blog/posts" }} - {{ partial "items-grid.html" . }} - {{ end }} - {{ else }} + {{ with .GetPage "blog/posts" }} {{ partial "items-grid.html" . }} + {{ end }} + {{ else }} + {{ partial "items-grid.html" . }} {{ end }} {{ end }} diff --git a/layouts/cv/organisations/section.html b/layouts/cv/organisations/section.html index 6222d9d..c77b8f3 100644 --- a/layouts/cv/organisations/section.html +++ b/layouts/cv/organisations/section.html @@ -1,35 +1,40 @@ {{ define "title" }} - {{ .Page.Title | plainify }} | {{ .Site.Title }} + {{ .Page.Title | plainify }} | + {{ .Site.Title }} {{ end }} {{ define "main-class" }}--section layouts-cv-organisations-section{{ end }} {{ define "main-header" }} - {{ if .IsDescendant ( .GetPage "/cv/organisations" ) }} -
-
- -
-
- {{ else }} -
-

{{ .Title | safeHTML }}.

- {{- .Content -}} -
- {{ end }} + {{ if .IsDescendant ( .GetPage "/cv/organisations" ) }} +
+
+ +
+
+ {{ else }} +
+

{{ .Title | safeHTML }}.

+ {{- .Content -}} +
+ {{ end }} {{ end }} {{ define "main-body" }} - {{ with .GetPage "cv/organisations" }} - {{ partial "cv/organisations/organisations-table.html" . }} - {{ end }} + {{ with .GetPage "cv/organisations" }} + {{ partial "cv/organisations/organisations-table.html" . }} + {{ end }} {{ end }} {{ define "main-footer" }} diff --git a/layouts/cv/section.html b/layouts/cv/section.html index a7176ca..312ff5a 100644 --- a/layouts/cv/section.html +++ b/layouts/cv/section.html @@ -118,14 +118,14 @@ {{ define "main-header" }} {{ if .IsDescendant ( .GetPage "/cv/organisations" ) }}
-
{{- with .Params.nka -}}

Now known as: {{ . }}

{{- end -}} @@ -198,8 +198,8 @@ {{ partial "cv/organisations/recursive-parents.html" ( dict "c" . "g" $ ) }} {{- $parents := partial "cv/organisations/reverse-slice.html" ( $.Scratch.Get "parents" ) -}} - {{- range $parents -}}