diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-06 01:33:06 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-06 01:33:06 +0200 |
| commit | 756c9bc45f0732db6e0ca553c82bc378aab30dee (patch) | |
| tree | 022d1344c7301bdf51e4058c2ee968f95797204a /layouts/partials/scripts.html | |
| parent | 638903353764fbcfc44b19f1d444d3b8060bcaa2 (diff) | |
| download | gohugo-theme-ed-756c9bc45f0732db6e0ca553c82bc378aab30dee.tar.gz | |
Remove jQuery dependency from search form
Diffstat (limited to 'layouts/partials/scripts.html')
| -rw-r--r-- | layouts/partials/scripts.html | 11 |
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 -}} |
