1
0
Fork 0
forked from mCaptcha/website
mcaptcha-website/layouts/_default/index.json
2021-03-09 18:56:02 +05:30

5 lines
No EOL
249 B
JSON

{{- $.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 -}}