master
Will Faught 2 years ago
parent 252c829deb
commit 27e858a58b

@ -1,8 +1,9 @@
{{- $page := . -}}
{{- $page.Scratch.Add "paige_index" slice -}}
{{- range where site.RegularPages "Params.paige.search.hide_page" "ne" true -}}
{{- $page.Scratch.Add "paige_index" (dict
{{- $page.Scratch.Add "paige_index" (dict
"categories" .Params.categories
"date" .PublishDate
"description" (.Description | markdownify | plainify | htmlUnescape)
@ -12,4 +13,5 @@
"text" (strings.TrimRight " " (replace (.Plain | htmlUnescape) "\n" " "))
"title" (.Title | markdownify | plainify | htmlUnescape)) -}}
{{- end -}}
{{- $page.Scratch.Get "paige_index" | jsonify -}}

Loading…
Cancel
Save