2020-12-06 13:49:50 +01:00
|
|
|
{{- $.Scratch.Add "index" slice -}}
|
|
|
|
{{- range .Site.RegularPages -}}
|
2021-01-30 08:20:16 +01:00
|
|
|
{{- if not .Params.searchHidden }}
|
2020-12-06 13:49:50 +01:00
|
|
|
{{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary) -}}
|
2021-01-30 08:20:16 +01:00
|
|
|
{{- end }}
|
2020-12-06 13:49:50 +01:00
|
|
|
{{- end -}}
|
|
|
|
{{- $.Scratch.Get "index" | jsonify -}}
|