diff --git a/README.md b/README.md index daf9d749..7e9b5f12 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ Optional page parameters: ```yaml link: "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the title math: true # Enable math typesetting with KaTeX -paigeexcludesearch: true # Don't include this page in search results +paigehidesearch: true # Don't include this page in search results ``` Additional optional home page parameters: @@ -208,7 +208,7 @@ paigeshowfullpages: true # Show full pages, not just page titles and description Additional optional single page parameters: ```yaml -paigeexcluderss: true # Don't include this page in RSS feeds +paigehiderss: true # Don't include this page in RSS feeds ``` Example `config.yaml`: diff --git a/layouts/_default/home.json b/layouts/_default/home.json index a7502850..311ff353 100644 --- a/layouts/_default/home.json +++ b/layouts/_default/home.json @@ -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 }} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 87364382..d1ac4ed9 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -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 "" | safeHTML }}