mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 18:41:37 +01:00
7 lines
237 B
JSON
7 lines
237 B
JSON
|
{{- $.Scratch.Add "index" slice -}}
|
||
|
{{- range .Site.RegularPages -}}
|
||
|
{{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary) -}}
|
||
|
{{- end -}}
|
||
|
{{- $.Scratch.Get "index" | jsonify -}}
|
||
|
|