Change search JSON to all pages

master
Will Faught 3 years ago
parent a655724370
commit 4f2ae31d92

@ -1,5 +1,5 @@
{{- $.Scratch.Add "index" slice -}} {{- $.Scratch.Add "index" slice -}}
{{- range where .Site.RegularPages "Params.excludesearch" "ne" true -}} {{- range where .Site.Pages "Params.excludesearch" "ne" true -}}
{{- $.Scratch.Add "index" (dict {{- $.Scratch.Add "index" (dict
"title" (.Title | markdownify | plainify | htmlUnescape) "title" (.Title | markdownify | plainify | htmlUnescape)
"description" (.Description | markdownify | plainify | htmlUnescape) "description" (.Description | markdownify | plainify | htmlUnescape)

Loading…
Cancel
Save