Move paige.main.metadata.rss.hide to paige.rss.hide_page

This commit is contained in:
Will Faught
2023-02-05 15:19:13 -08:00
parent 2018494367
commit cffb089acb
2 changed files with 2 additions and 3 deletions

View File

@@ -309,8 +309,6 @@ paige:
reading_time:
class: "text-center text-secondary" # Default is "text-center text-secondary"
hide: false # Default is false
rss:
hide: false # Don't include this page in RSS feeds; default is false
search:
hide: false # Don't include this page in search results; default is false
section:
@@ -330,6 +328,7 @@ paige:
hide: false # Default is false
max_width: "66ch" # Default is ""
rss:
hide_page: false # Default is false
managing_editor: "Michael Bluth" # Default is ""
web_master: "Michael Bluth" # Default is ""
social:

View File

@@ -15,7 +15,7 @@
{{ $pages = $pages | first $limit }}
{{ end }}
{{ $pages = where $pages "Params.paige.main.metadata.rss.hide" "ne" true }}
{{ $pages = where $pages "Params.paige.rss.hide" "ne" true }}
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">