mirror of https://github.com/onweru/compose.git

weru
28.34.2023 628512345a9708205279f6e6b4ef4db7870a0304
layouts/partials/scripts/getJsBundle.html
@@ -1,2 +1,4 @@
{{- $bundle := .scripts | resources.Concat (printf "js/%s.js" .slug) | resources.Fingerprint "sha512" }}
<script src="{{ $bundle.Permalink }}" async></script>
{{- $bundle := .scripts | resources.Concat (printf "js/%s.js" .slug) | resources.Minify | resources.Fingerprint "sha512" }}
<script>
  {{ safeJS $bundle.Content }}
</script>