You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
592 B
JSON
16 lines
592 B
JSON
{{- $page := . -}}
|
|
|
|
{{- $page.Scratch.Add "index" slice -}}
|
|
{{- range where $page.Site.RegularPages "Params.paige.hide_search" "ne" true -}}
|
|
{{- $page.Scratch.Add "index" (dict
|
|
"categories" .Params.categories
|
|
"date" .PublishDate
|
|
"description" (.Description | markdownify | plainify | htmlUnescape)
|
|
"keywords" .Params.keywords
|
|
"link" .RelPermalink
|
|
"tags" .Params.tags
|
|
"text" (strings.TrimRight " " (replace (.Plain | htmlUnescape) "\n" " "))
|
|
"title" (.Title | markdownify | plainify | htmlUnescape)) -}}
|
|
{{- end -}}
|
|
{{- $page.Scratch.Get "index" | jsonify -}}
|