aboutsummaryrefslogtreecommitdiff
path: root/themes/terrassa/layouts/partials/scripts.html
blob: 46beb791139ece8b93a6f7c431893a1296421c86 (plain)
1
2
3
4
5
6
7
8
{{ $header := resources.Get "js/header.js" }}
{{ $form := resources.Get "js/form.js" }}
{{ $bundle := slice $header $form | resources.Concat "js/bundle.js" }}
{{ $js := $bundle | resources.Minify | resources.Fingerprint "sha512" }}

<script src="{{ $js.Permalink }}"></script>
<script defer src="https://use.fontawesome.com/releases/v5.6.1/js/all.js" integrity="sha384-R5JkiUweZpJjELPWqttAYmYM1P3SNEJRM6ecTQF05pFFtxmCO+Y1CiUhvuDzgSVZ"
    crossorigin="anonymous"></script>