From 140cb59f97a0dcd288246832c53eda8b8fb2c3f4 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 1 Mar 2025 15:50:13 -0800 Subject: [PATCH] Center metadata with text-center --- layouts/partials/paige/page-header.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/partials/paige/page-header.html b/layouts/partials/paige/page-header.html index d2393b50..4d263cc0 100644 --- a/layouts/partials/paige/page-header.html +++ b/layouts/partials/paige/page-header.html @@ -21,21 +21,21 @@ {{ $keywords := sort (append $categories $tags) "LinkTitle" | and ($page.Param "paige.pages.disable_keywords" | not) }} {{ if or $alert $authors $date $description $first $keywords $last $time $series $title $toc $words }} -
+
{{ partial "paige/func-include.html" (dict "name" "page-header-first%s.html" "page" $page) | safeHTML }} {{ with $title }} -

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

+

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

{{ end }} {{ with $description }} -

{{ . }}

+

{{ . }}

{{ end }} {{ if or $authors $date $keywords $time $series }}
{{ with $keywords }} -

+

{{ range $i, $term := . }} {{ $kind := false }} @@ -67,7 +67,7 @@ {{ end }} {{ with $series }} -

+

{{ range $i, $series := . }} {{ if gt $i 0 }} · {{ end }} @@ -81,7 +81,7 @@ {{ end }} {{ with $authors }} -

+

{{ range $i, $author := . }} {{ if gt $i 0 }} · {{ end }} @@ -95,17 +95,17 @@ {{ end }} {{ with $date }} -

+

{{ end }} {{ with $words }} -

{{ . }} {{ i18n "paige_words" . }}

+

{{ . }} {{ i18n "paige_words" . }}

{{ end }} {{ with $time }} -

{{ . }} {{ i18n "paige_minutes" . }}

+

{{ . }} {{ i18n "paige_minutes" . }}

{{ end }}
{{ end }} @@ -115,7 +115,7 @@ {{ end }} {{ if $toc }} -
+
{{ $page.TableOfContents }}