{{ "" | safeHTML }} {{- $js_files := slice (resources.Get "js/default.js") (resources.Get "js/accessibility.js") (resources.Get "js/bionread.js") }} {{- if site.Params.posts.colophon }} {{- $js_files = $js_files | append (resources.Get "js/qrcode.js") }} {{- end }} {{- $hugo_brewm := $js_files | resources.Concat "js/hugo-brewm.js" | minify }} {{- if eq hugo.Environment "development" }} {{- else }} {{- with $hugo_brewm | fingerprint "sha384" -}} {{- end }} {{- end }} {{- /*----------------------- end of js.html -----------------------*/}} {{- define "partials/head/js/hljs.html" -}} {{ "" | safeHTML }} {{- if .Params.Hljslang }} {{- end }} {{- end }} {{- define "partials/head/js/katex.html" -}} {{ "" | safeHTML }} {{- end }} {{- define "partials/head/js/mathjax.html" -}} {{ "" | safeHTML }} {{- end }} {{- define "partials/head/js/qrcode.html" -}} {{ "" | safeHTML }} {{ $qrcode := resources.Get "js/qrcode.js" | minify }} {{ if eq hugo.Environment "development" }} {{- else }} {{- with $qrcode | fingerprint "sha384" -}} {{- end }} {{- end }} {{- end }}