camp-homepage/gallery/themes/autophugo/layouts/partials/scripts.html
2023-02-05 13:58:44 +01:00

7 lines
434 B
HTML

{{- $jquery := resources.Get "js/jquery.min.js" -}}
{{- $mg_pop := resources.Get "js/jquery.magnific-popup.js" -}}
{{- $main := resources.Get "js/main.js" -}}
{{- $util := resources.Get "js/util.js" -}}
{{- $custom_js := slice $jquery $mg_pop $main $util | resources.Concat "js/custom.js" | resources.Minify | resources.Fingerprint -}}
<script src="{{ $custom_js.RelPermalink }}" integrity="{{ $custom_js.Data.Integrity }}"></script>