Rename paigeexclude to paigehide

This commit is contained in:
Will Faught
2022-12-14 21:37:40 -08:00
parent ade6eeff53
commit 8281e6357d
3 changed files with 4 additions and 4 deletions

View File

@@ -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 }}

View File

@@ -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">