cc-docs/layouts/_default/index.json

5 lines
255 B
JSON
Raw Normal View History

2023-07-04 16:33:06 +02:00
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
{{- $.Scratch.Add "index" (dict "title" .Title "description" .Params.description "contents" .Plain "RelPermalink" .RelPermalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}