Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.searchindex.json')
-rw-r--r--layouts/_default/list.searchindex.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/list.searchindex.json b/layouts/_default/list.searchindex.json
index b29edc3..a1870fa 100644
--- a/layouts/_default/list.searchindex.json
+++ b/layouts/_default/list.searchindex.json
@@ -1,3 +1,4 @@
+{{ .Scratch.Delete "searchindex" }}
{{- $.Scratch.Add "searchindex" slice -}}
{{- range $index, $element := (where .Site.Pages "Kind" "page") -}}
{{ with $element.Plain }}