Move paige.main.metadata.search.hide to paige.search.hide_page
This commit is contained in:
@@ -309,8 +309,6 @@ paige:
|
|||||||
reading_time:
|
reading_time:
|
||||||
class: "text-center text-secondary" # Default is "text-center text-secondary"
|
class: "text-center text-secondary" # Default is "text-center text-secondary"
|
||||||
hide: false # Default is false
|
hide: false # Default is false
|
||||||
search:
|
|
||||||
hide: false # Don't include this page in search results; default is false
|
|
||||||
section:
|
section:
|
||||||
class: "paige-metadata w-100" # Default is "paige-metadata w-100"
|
class: "paige-metadata w-100" # Default is "paige-metadata w-100"
|
||||||
terms:
|
terms:
|
||||||
@@ -331,6 +329,8 @@ paige:
|
|||||||
hide_page: false # Default is false
|
hide_page: false # Default is false
|
||||||
managing_editor: "Michael Bluth" # Default is ""
|
managing_editor: "Michael Bluth" # Default is ""
|
||||||
web_master: "Michael Bluth" # Default is ""
|
web_master: "Michael Bluth" # Default is ""
|
||||||
|
search:
|
||||||
|
hide_page: false # Default is false
|
||||||
social:
|
social:
|
||||||
examplesite:
|
examplesite:
|
||||||
bootstrap_icon: example-icon
|
bootstrap_icon: example-icon
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{{- $page := . -}}
|
{{- $page := . -}}
|
||||||
|
|
||||||
{{- $page.Scratch.Add "paige_index" slice -}}
|
{{- $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
|
{{- $page.Scratch.Add "paige_index" (dict
|
||||||
"categories" .Params.categories
|
"categories" .Params.categories
|
||||||
"date" .PublishDate
|
"date" .PublishDate
|
||||||
|
Reference in New Issue
Block a user