summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-06 01:33:06 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-06 01:33:06 +0200
commit756c9bc45f0732db6e0ca553c82bc378aab30dee (patch)
tree022d1344c7301bdf51e4058c2ee968f95797204a /layouts/partials
parent638903353764fbcfc44b19f1d444d3b8060bcaa2 (diff)
downloadgohugo-theme-ed-756c9bc45f0732db6e0ca553c82bc378aab30dee.tar.gz
Remove jQuery dependency from search form
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/scripts.html11
1 files changed, 0 insertions, 11 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index ace6e45..e931587 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -24,17 +24,6 @@
<script src="{{ $vendors.RelPermalink }}"></script>
{{- end -}}
-{{- $search := resources.Get "js/search.js" -}}
-{{- if or (eq (getenv "HUGO_ENV") "production") (eq site.Params.env "production") }}
- {{- $search = $search | minify -}}
-{{- end -}}
-{{- if not site.Params.assets.disable_fingerprinting -}}
- {{- $search = $search | fingerprint -}}
- <script src="{{ $search.RelPermalink }}" integrity="{{ $search.Data.Integrity }}"></script>
-{{- else -}}
- <script src="{{ $search.RelPermalink }}"></script>
-{{- end -}}
-
{{- if or (eq (getenv "HUGO_ENV") "production") (eq site.Params.env "production") }}
{{- with site.GoogleAnalytics -}}
{{- $ga := resources.Get "js/ga.js" | minify -}}