Add config to hide page data
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{ $authors := partial "paige/func-authors.html" . }}
|
||||
{{ $authors := cond (.Param "paige.page.hide_authors" | not | not) "" (partial "paige/func-authors.html" .) }}
|
||||
{{ $authorsclass := .Param "paige.page.authors_class" | default "text-center text-secondary" }}
|
||||
{{ $gap := "mb-0" }}
|
||||
{{ $date := .PublishDate }}
|
||||
{{ $date := cond (.Param "paige.page.hide_date" | not | not) "" .PublishDate }}
|
||||
{{ $dateclass := .Param "paige.page.date_class" | default "text-center text-secondary" }}
|
||||
|
||||
{{ with $authors }}
|
||||
|
Reference in New Issue
Block a user