diff --git a/README.md b/README.md index 787e096d..119c9268 100644 --- a/README.md +++ b/README.md @@ -309,8 +309,6 @@ paige: reading_time: class: "text-center text-secondary" # Default is "text-center text-secondary" hide: false # Default is false - search: - hide: false # Don't include this page in search results; default is false section: class: "paige-metadata w-100" # Default is "paige-metadata w-100" terms: @@ -331,6 +329,8 @@ paige: hide_page: false # Default is false managing_editor: "Michael Bluth" # Default is "" web_master: "Michael Bluth" # Default is "" + search: + hide_page: false # Default is false social: examplesite: bootstrap_icon: example-icon diff --git a/layouts/_default/home.json b/layouts/_default/home.json index 04a19365..f40c52e9 100644 --- a/layouts/_default/home.json +++ b/layouts/_default/home.json @@ -1,7 +1,7 @@ {{- $page := . -}} {{- $page.Scratch.Add "paige_index" slice -}} -{{- range where site.RegularPages "Params.paige.main.metadata.search.hide" "ne" true -}} +{{- range where site.RegularPages "Params.paige.search.hide" "ne" true -}} {{- $page.Scratch.Add "paige_index" (dict "categories" .Params.categories "date" .PublishDate