5 lines
249 B
JSON
5 lines
249 B
JSON
|
{{- $.Scratch.Add "index" slice -}}
|
||
|
{{- range .Site.RegularPages -}}
|
||
|
{{- $.Scratch.Add "index" (dict "title" .Title "description" .Params.description "contents" .Plain "permalink" .Permalink) -}}
|
||
|
{{- end -}}
|
||
|
{{- $.Scratch.Get "index" | jsonify -}}
|