aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.json
blob: d3ba9d8cbfd8571c3ab5d98b7d434a27f5dc0b69 (plain)
1
2
3
4
5
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
    {{- $.Scratch.Add "index" (dict "title" .Title "description" .Params.description "tags" .Params.tags "content" .Plain "permalink" .Permalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}