Rename paigeexclude to paigehide
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{- $.Scratch.Add "index" slice -}}
|
||||
{{- range where .Site.Pages "Params.paigeexcludesearch" "ne" true -}}
|
||||
{{- range where .Site.Pages "Params.paigehidesearch" "ne" true -}}
|
||||
{{- $title := .Title | markdownify | plainify | htmlUnescape -}}
|
||||
{{- if and (not $title) .IsHome }}
|
||||
{{- $title = site.Title }}
|
||||
|
@@ -12,7 +12,7 @@
|
||||
{{ if ge $limit 1 }}
|
||||
{{ $pages = $pages | first $limit }}
|
||||
{{ end }}
|
||||
{{ $pages = where $pages "Params.paigeexcluderss" "ne" true }}
|
||||
{{ $pages = where $pages "Params.paigehiderss" "ne" true }}
|
||||
{{ $title := partial "paige-titles.html" . }}
|
||||
{{ 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