diff --git a/layouts/partials/paige/page-header.html b/layouts/partials/paige/page-header.html index 3ec1f66a..4b27dbdd 100644 --- a/layouts/partials/paige/page-header.html +++ b/layouts/partials/paige/page-header.html @@ -12,7 +12,7 @@ {{ $textkeywords := eq ($page.Param "paige.keyword_style" | default "text") "text" }} {{ $title := $page.Title | markdownify }} -
+
{{ with $title }}

{{ if $link }}{{ . }}{{ else }}{{ . }}{{ end }}

{{ end }} @@ -70,16 +70,16 @@ {{ end }}
{{ end }} - -{{ with $page.Param "paige.alert" }} - -{{ end }} + {{ with $page.Param "paige.alert" }} + + {{ end }} -{{ if and $page.Content (ne $page.TableOfContents ``) }} -
-
- {{ $page.TableOfContents }} + {{ if and $page.Content (ne $page.TableOfContents ``) }} +
+
+ {{ $page.TableOfContents }} +
-
-{{ end }} + {{ end }} +