{{- $built := resources.Get "js/main.js" | js.Build "main.js" -}} {{- if not hugo.IsDevelopment }} {{- $built = $built | minify | fingerprint -}} {{ end -}} {{- if (findRE "
{{ partial "icon.html" "copy" }}{{ partial "icon.html" "check" }}{{- $jsCopy := resources.Get "js/code-copy.js" | js.Build "code-copy.js" -}} {{- if not hugo.IsDevelopment }} {{- $jsCopy = $jsCopy | minify | fingerprint -}} {{ end -}} {{ end -}} {{- partial "custom_footer.html" . -}}