diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html index 0006285..947d459 100644 --- a/layouts/partials/head/scripts.html +++ b/layouts/partials/head/scripts.html @@ -8,12 +8,15 @@ {{ end }} {{ end }} +{{ if $.Param "enableSearch" }} + {{ $fuse := resources.Get "js/fuse.min.js" | resources.Fingerprint }} + +{{ end }} + {{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }} {{ $lazysizes := resources.Get "js/lazysizes.min.js" | resources.Fingerprint }} -{{ $fuse := resources.Get "js/fuse.min.js" | resources.Fingerprint }} - {{ $getParents := resources.Get "js/helper/getParents.js" | resources.Minify | resources.Fingerprint }} {{ $fadeinout := resources.Get "js/helper/fadeinout.js" | resources.Minify | resources.Fingerprint }}