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

weru
12.33.2021 0cfdc6ed6251a98792fc5bc8a3828a0b1479605f
layouts/partials/scripts.html
@@ -18,3 +18,12 @@
{{- $bundle := slice $variables $functions $code $main $fuse $search | resources.Concat "js/bundle.js" | resources.Minify | resources.Fingerprint "sha512" }}
<script src="{{ $bundle.Permalink }}"></script>
{{- partialCached "hooks/scripts" . -}}
{{- $sp := .Site.Params }}
{{- with $sp.customJS }}
  {{- range . -}}
    <script src="{{ . }}"></script>
  {{- end }}
{{- end -}}