Rename excluderss to paigeexcluderss
This commit is contained in:
@@ -208,7 +208,7 @@ paigeshowfullpages: true # Show full page content in list pages
|
|||||||
Additional optional single page parameters:
|
Additional optional single page parameters:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
excluderss: true # Don't include this page in RSS feeds
|
paigeexcluderss: true # Don't include this page in RSS feeds
|
||||||
```
|
```
|
||||||
|
|
||||||
Example `config.yaml`:
|
Example `config.yaml`:
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
{{ if ge $limit 1 }}
|
{{ if ge $limit 1 }}
|
||||||
{{ $pages = $pages | first $limit }}
|
{{ $pages = $pages | first $limit }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $pages = where $pages "Params.excluderss" "ne" true }}
|
{{ $pages = where $pages "Params.paigeexcluderss" "ne" true }}
|
||||||
{{ $title := partial "paige-titles.html" . }}
|
{{ $title := partial "paige-titles.html" . }}
|
||||||
{{ 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">
|
||||||
|
Reference in New Issue
Block a user