diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e3bb857e..3a12866b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -21,11 +21,11 @@ {{- if (and (in site.Params.mainSections .Type) (ne .Layout `archives`) (ne .Layout `search`) (not $isHLJSdisabled)) }} {{- if not .Site.Params.assets.disableFingerprinting }} {{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify | fingerprint }} - {{- else}} {{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | minify }} - + {{- end}} {{- end }} + {{- else}} {{ $search := (slice $fusejs $fastsearch ) | resources.Concat "assets/js/search.js" | minify }} - + {{- end}} {{- end -}}