{{- if not (.Param "hideFooter") }} {{- end }} {{- if (not site.Params.disableScrollToTop) }} {{- end }} {{- partial "extend_footer.html" . }} {{- if (not site.Params.disableScrollToTop) }} {{- end }} {{- if (not site.Params.disableThemeToggle) }} {{- end }} {{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (.Param "ShowCodeCopyButtons")) }} {{- end }} {{- /* Search */}} {{- if (eq .Layout `search`) -}} {{- $fastsearch := resources.Get "js/fastsearch.js" | js.Build (dict "params" (dict "fuseOpts" site.Params.fuseOpts)) }} {{- $fusejs := resources.Get "js/fuse.basic.min.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 }} {{- else }} {{- /* InstantClick.js */}} {{- if (.Param "EnableInstantClick") }} {{- $instantclick := slice (resources.Get "js/instantclick.js") | resources.Concat "assets/js/instantclick.js" | minify }} {{- end }} {{- end -}}