Move page config under paige.page
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user