aboutsummaryrefslogtreecommitdiff
path: root/themes/terrassa/layouts/partials/scripts.html
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2019-03-16 17:43:05 +0100
committerDimitri Staessens <[email protected]>2019-03-16 17:43:05 +0100
commit79acfcf1599496e67b20c39c00a100b07c383ab1 (patch)
tree0651646a631545b2ff56074f4c8f492d69dbb170 /themes/terrassa/layouts/partials/scripts.html
parent4b98568dbdc0dddf8255abbbb08565821b79f839 (diff)
downloadwebsite-79acfcf1599496e67b20c39c00a100b07c383ab1.tar.gz
website-79acfcf1599496e67b20c39c00a100b07c383ab1.zip
theme: Add terrassa theme
Diffstat (limited to 'themes/terrassa/layouts/partials/scripts.html')
-rw-r--r--themes/terrassa/layouts/partials/scripts.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/terrassa/layouts/partials/scripts.html b/themes/terrassa/layouts/partials/scripts.html
new file mode 100644
index 0000000..46beb79
--- /dev/null
+++ b/themes/terrassa/layouts/partials/scripts.html
@@ -0,0 +1,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> \ No newline at end of file