2020-12-06 13:49:50 +01:00
|
|
|
{{- $.Scratch.Add "index" slice -}}
|
2022-03-27 15:14:06 +02:00
|
|
|
{{- range site.RegularPages -}}
|
2021-01-30 08:23:14 +01:00
|
|
|
{{- if and (not .Params.searchHidden) (ne .Layout `archives`) (ne .Layout `search`) }}
|
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 -}}
|