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

master
Will Faught 2 years ago
parent 2018494367
commit cffb089acb

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

@ -15,7 +15,7 @@
{{ $pages = $pages | first $limit }} {{ $pages = $pages | first $limit }}
{{ end }} {{ 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 }} {{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

Loading…
Cancel
Save