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

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/search-index.html')
-rw-r--r--layouts/partials/search-index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/search-index.html b/layouts/partials/search-index.html
new file mode 100644
index 0000000..76ba1c7
--- /dev/null
+++ b/layouts/partials/search-index.html
@@ -0,0 +1,3 @@
+{{ $searchIndex := resources.Get "json/search.json" | resources.ExecuteAsTemplate (printf "%s/index.json" .RelPermalink) . | resources.Fingerprint "md5" }}
+
+{{ return (path.Base $searchIndex.RelPermalink) }}