0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 08:45:03 +01:00
gitea/docs/layouts/_default/index.json

6 lines
266 B
JSON
Raw Normal View History

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