 .path }}"></script>
{{- end }}
{{- end }}
{{- else }}
{{ $libraries := slice }}
{{- range .Site.Params.library }}
{{- if and (eq .type "script") .global }}
{{ $libraries = $libraries | append (resources.Get (print "js/" .name ".js")) }}
{{- end }}
{{- end }}
{{- $main = $libraries | append $main | resources.Concat "js/bundle.js" }}
{{- end }}
{{- $scripts := $main | minify | fingerprint -}}
<script type="text/javascript" src="{{ $scripts.RelPermalink }}" crossorigin="anonymous" integrity="{{ $scripts.Data.