{{- $js := resources.Get "js/cookie-consent.js" | minify -}} {{ $bs := resources.Get "js/bootstrap.bundle.min.js" | fingerprint "sha512" }} {{ if $bs }} {{ end }} {{ $custom := resources.Get "js/main.js" }} {{ if $custom }} {{ $custom = $custom | fingerprint "sha512" }} {{ end }} {{ if eq hugo.Environment "production" }} {{ end }}