mcaptcha-website/layouts/_default/index.json

5 lines
249 B
JSON
Raw Permalink Normal View History

2021-03-09 18:56:02 +05:30
{{- $.Scratch.Add "index" slice -}}
{{- range .Site.RegularPages -}}
{{- $.Scratch.Add "index" (dict "title" .Title "description" .Params.description "contents" .Plain "permalink" .Permalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}