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