blob: 9317e4c2d0f8e357538fd25b3870326f5a3aec9e (
plain) (
blame)
1
2
3
4
5
|
{{- $.Scratch.Add "index" slice -}}
{{- range .Pages -}}
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "categories" .Params.categories "contents" .RawContent "permalink" .Permalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}
|