diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 90cbeec0..3af71053 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -17,9 +17,14 @@ {{- partial "extend_footer.html" . -}} {{ if in site.Params.mainSections .Type }} +{{- 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 }}