mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	Rename fuse.js -> fuse.basic.min.js
- denoting we are using basic version
This commit is contained in:
		| @@ -72,7 +72,7 @@ | |||||||
| {{- if (eq .Layout `search`) -}} | {{- if (eq .Layout `search`) -}} | ||||||
| <link crossorigin="anonymous" rel="preload" as="fetch" href="../index.json"> | <link crossorigin="anonymous" rel="preload" as="fetch" href="../index.json"> | ||||||
| {{- $fastsearch := resources.Get "js/fastsearch.js" | js.Build (dict "params" (dict "fuseOpts" .Site.Params.fuseOpts)) }} | {{- $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 }} | {{- if not .Site.Params.assets.disableFingerprinting }} | ||||||
| {{- $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" | minify | fingerprint }} | {{- $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" | minify | fingerprint }} | ||||||
| <script defer crossorigin="anonymous" src="{{ $search.RelPermalink }}" integrity="{{ $search.Data.Integrity }}"></script> | <script defer crossorigin="anonymous" src="{{ $search.RelPermalink }}" integrity="{{ $search.Data.Integrity }}"></script> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange