Remove paige.page.disable_alert config
This commit is contained in:
@@ -224,7 +224,6 @@ disable_summary = false
|
||||
disable_title = false
|
||||
|
||||
[paige.page]
|
||||
disable_alert = false
|
||||
disable_authors = false
|
||||
disable_auto_schema = false # Disable the automatic SEO JSON-LD schema generation
|
||||
disable_date = false
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ $alert := $page.Param "paige.alert" | and ($page.Param "paige.page.disable_alert" | not) }}
|
||||
{{ $alert := $page.Param "paige.alert" }}
|
||||
{{ $authors := partial "paige/func-authors.html" $page | and ($page.Param "paige.page.disable_authors" | not) }}
|
||||
{{ $categories := $page.GetTerms "categories" }}
|
||||
{{ $date := and $page.IsPage $page.PublishDate | and ($page.Param "paige.page.disable_date" | not) }}
|
||||
|
Reference in New Issue
Block a user