diff --git a/README.md b/README.md index bbb2d586..a66bcc0e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index a83591be..0277f237 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -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" . }} diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml index 51793ac1..634e151b 100644 --- a/layouts/_default/list.rss.xml +++ b/layouts/_default/list.rss.xml @@ -16,7 +16,7 @@ {{ $build = .Lastmod }} {{ end }} - {{ if not (.Param "paige.feeds.disable") }} + {{ if not (.Param "paige.feeds.exclude") }} {{ $subpages = $subpages | append . }} {{ end }} {{ end }}