|
{{- $.Scratch.Add "index" slice -}}
|
|
{{- range where .Site.Pages ".Params.exclude_search" "!=" true -}}
|
|
{{- $.Scratch.Add "index" (dict "title" .Title "ref" .Permalink "body" .Plain "excerpt" .Summary) -}}
|
|
{{- end -}}
|
|
{{- $.Scratch.Get "index" | jsonify -}} |