summaryrefslogtreecommitdiffstats
path: root/layouts/partials/scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r--layouts/partials/scripts.html9
1 files changed, 1 insertions, 8 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index e931587..137cae2 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -1,17 +1,10 @@
{{- $vendors := slice -}}
-{{- $vendorNames := slice "jquery.js" "lunr.js" -}}
+{{- $vendorNames := slice "jquery.js" -}}
{{- range $vendorNames -}}
{{ $vendors = $vendors | append (resources.Get (printf "js/vendor/%s" .) ) }}
{{- end -}}
-{{- $vendors = $vendors | append (resources.Get "js/vendor/lunr.stemmer.support.js" ) -}}
-{{- $lunrLangs := slice "de" "es" "fr" "it" "pt" "ru" -}}
-{{- range $lunrLangs -}}
- {{ $vendors = $vendors | append (resources.Get (printf "js/vendor/lunr.%s.js" .) ) }}
-{{- end -}}
-{{- $vendors = $vendors | append (resources.Get "js/vendor/lunr.multi.js" ) -}}
-
{{- $vendors = $vendors | resources.Concat "js/vendor-bundle.js" -}}
{{- if or (eq (getenv "HUGO_ENV") "production") (eq site.Params.env "production") }}
{{- $vendors = $vendors | minify -}}