portails/layouts/_default/index.json

5 lines
255 B
JSON
Raw Normal View History

2020-11-04 08:26:58 +01:00
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
2021-04-02 19:45:05 +02:00
{{- $.Scratch.Add "index" (dict "title" .Title "description" .Params.description "contents" .Plain "RelPermalink" .RelPermalink) -}}
2020-11-04 08:26:58 +01:00
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}