Move paige.main.metadata.rss.hide to paige.rss.hide_page
This commit is contained in:
@@ -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:
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user