diff options
Diffstat (limited to 'layouts/partials/search-index.html')
-rw-r--r-- | layouts/partials/search-index.html | 3 |
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) }} |