mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 06:48:56 +00:00
6 lines
266 B
JSON
6 lines
266 B
JSON
|
{{- $.Scratch.Add "index" slice -}}
|
||
|
{{- range .Site.RegularPages -}}
|
||
|
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "categories" .Params.categories "contents" .Plain "permalink" .Permalink) -}}
|
||
|
{{- end -}}
|
||
|
{{- $.Scratch.Get "index" | jsonify -}}
|