mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-14 12:02:17 +00:00
7 lines
292 B
JSON
7 lines
292 B
JSON
|
{{- $.Scratch.Add "index" slice -}}
|
||
|
{{- range .Site.Pages -}}
|
||
|
{{- if ne .Type "search" -}}
|
||
|
{{- $.Scratch.Add "index" (dict "title" .Title "body" .Plain "link" .Permalink "section" .Section "tags" .Params.tags) -}}
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|
||
|
{{- jsonify (uniq ($.Scratch.Get "index")) -}}
|