From 29fef49adea162c23ef8a6aac0b7f19205652dc5 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 12 Jul 2024 22:27:46 -0700 Subject: [PATCH] Add header tag to page header --- layouts/partials/paige/page-header.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 }} +