Rename paige.feeds.disable to paige.feeds.exclude
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{{ $updated := site.Lastmod.Format $format }}
|
||||
|
||||
{{ range $page.RegularPagesRecursive.ByPublishDate.Reverse }}
|
||||
{{ if not (.Param "paige.feeds.disable") }}
|
||||
{{ if not (.Param "paige.feeds.exclude") }}
|
||||
{{ $subpages = $subpages | append . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -124,7 +124,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ if .Lastmod.IsZero }}
|
||||
{{ warnf "layouts/_default/list.atom.xml: Page %s does not have a modified date. The atom output requires a modified date. Either set the page's date parameter, or set the page's paige.feeds.disable parameter to true, or disable the atom output." .RelPermalink }}
|
||||
{{ warnf "layouts/_default/list.atom.xml: Page %s does not have a modified date. The atom output requires a modified date. Either set the page's date parameter, or set the page's paige.feeds.exclude parameter to true, or disable the atom output." .RelPermalink }}
|
||||
{{ end }}
|
||||
|
||||
{{ with partial "paige/func-authors.html" . }}
|
||||
|
@@ -16,7 +16,7 @@
|
||||
{{ $build = .Lastmod }}
|
||||
{{ end }}
|
||||
|
||||
{{ if not (.Param "paige.feeds.disable") }}
|
||||
{{ if not (.Param "paige.feeds.exclude") }}
|
||||
{{ $subpages = $subpages | append . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user