mirror of
https://gitea.com/gitea/blog.git
synced 2024-06-02 07:41:24 +05:30
6 lines
234 B
JSON
6 lines
234 B
JSON
|
{{- $.Scratch.Add "index" slice -}}
|
||
|
{{- range .Site.RegularPages -}}
|
||
|
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "contents" .Plain "permalink" .Permalink) -}}
|
||
|
{{- end -}}
|
||
|
{{- $.Scratch.Get "index" | jsonify -}}
|