Rename paige.feeds.disable to paige.feeds.exclude
This commit is contained in:
@@ -281,7 +281,7 @@ repo = ""
|
||||
theme = ""
|
||||
|
||||
[paige.feeds]
|
||||
disable = false # Exclude the page from feeds
|
||||
exclude = false # Exclude this page from feeds
|
||||
link_to_page = false # Link to the page instead of the front matter link, if present
|
||||
page_link = "⏎" # If a front matter link is present, and link_to_page is false, then link to the page with this text
|
||||
|
||||
|
@@ -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