summaryrefslogtreecommitdiff
path: root/layouts/_default/index.json
blob: deef3c9e058f486040232fa6da8c015296c41383 (plain)
1
2
3
4
5
6
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
    {{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}