mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
3b0303a4fc
* Implement documentation search Signed-off-by: jolheiser <[email protected]> Co-Authored-By: guillep2k <[email protected]>
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 -}}
|