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