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

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/site-scripts.html')
-rw-r--r--layouts/partials/site-scripts.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/site-scripts.html b/layouts/partials/site-scripts.html
index 4e3b0ea..03c3d73 100644
--- a/layouts/partials/site-scripts.html
+++ b/layouts/partials/site-scripts.html
@@ -1,4 +1,8 @@
{{ $script := .Site.Data.webpack_assets.app }}
{{ with $script.js }}
<script src="{{ relURL (printf "%s%s" "dist/" .) }}"></script>
+{{ end }}
+{{ if .Site.Params.fuse }}
+<script src="/lib/fuse.min.js"></script> <!-- download and copy over fuse.min.js file from fusejs.io -->
+<script src="/lib/fastsearch.js"></script>
{{ end }} \ No newline at end of file