From 838e60712262ff257b14eaf9a922783d7d41c5b3 Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Sun, 27 Dec 2020 22:39:03 +0530
Subject: [PATCH] head: rm invalid rel="preload" on search assets
---
layouts/partials/head.html | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c2acb11f..c1f9d9cd 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -41,12 +41,10 @@
{{- $fusejs := resources.Get "js/fuse.js" }}
{{- if not .Site.Params.assets.disableFingerprinting }}
{{- $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" | minify | fingerprint }}
-
+
{{- else}}
{{ $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" | minify }}
-
+
{{- end}}
{{- end -}}