From c9f7c54ae67614e9af6f4212262411e31aca0f70 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 5 Feb 2022 17:50:49 +0530 Subject: [PATCH] Rename fuse.js -> fuse.basic.min.js - denoting we are using basic version --- assets/js/{fuse.js => fuse.basic.min.js} | 0 layouts/partials/head.html | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename assets/js/{fuse.js => fuse.basic.min.js} (100%) diff --git a/assets/js/fuse.js b/assets/js/fuse.basic.min.js similarity index 100% rename from assets/js/fuse.js rename to assets/js/fuse.basic.min.js diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 86ee5747..2fabbe60 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -72,7 +72,7 @@ {{- if (eq .Layout `search`) -}} {{- $fastsearch := resources.Get "js/fastsearch.js" | js.Build (dict "params" (dict "fuseOpts" .Site.Params.fuseOpts)) }} -{{- $fusejs := resources.Get "js/fuse.js" }} +{{- $fusejs := resources.Get "js/fuse.basic.min.js" }} {{- if not .Site.Params.assets.disableFingerprinting }} {{- $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" | minify | fingerprint }}