camp-homepage/gallery/themes/autophugo/layouts/partials/scripts.html

7 lines
434 B
HTML
Raw Normal View History

{{- $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>