Move page config under paige.page

This commit is contained in:
Will Faught
2023-01-28 16:01:36 -08:00
parent 1f7eca9b71
commit 2b05b8366d
5 changed files with 16 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
{{ $authors := partial "paige/func-authors.html" . }}
{{ $authorsclass := .Param "paige.authors_class" | default "text-center text-secondary" }}
{{ $authorsclass := .Param "paige.page.authors_class" | default "text-center text-secondary" }}
{{ $gap := "mb-0" }}
{{ $date := .PublishDate }}
{{ $dateclass := .Param "paige.date_class" | default "text-center text-secondary" }}
{{ $dateclass := .Param "paige.page.date_class" | default "text-center text-secondary" }}
{{ with $authors }}
<p class="{{ if $date }} {{ $gap }} {{ end }} {{ $authorsclass }}">{{ . }}</p>