hugo-theme-zzo/layouts/partials/head/scripts.html

24 lines
1.2 KiB
HTML
Raw Normal View History

2019-11-05 07:46:33 +00:00
{{ $fetchinject := resources.Get "js/fetch-inject.umd.min.js" | resources.Fingerprint }}
2019-11-05 07:55:43 +00:00
<script src="{{ $fetchinject.RelPermalink | relURL }}"></script>
2019-11-05 07:46:33 +00:00
{{ $jquery := resources.Get "js/jquery.min.js" | resources.Fingerprint }}
2019-11-05 07:55:43 +00:00
<script src="{{ $jquery.RelPermalink | relURL }}"></script>
2019-11-04 13:09:44 +00:00
2019-11-05 07:46:33 +00:00
{{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }}
{{ $prism := resources.Get "js/prism.min.js" | minify | resources.Fingerprint }}
{{ $lunr := resources.Get "js/lunr.min.js" | resources.Fingerprint }}
{{ $lazysizes := resources.Get "js/lazysizes.min.js" | resources.Fingerprint }}
{{ $clipboard := resources.Get "js/clipboard.min.js" | resources.Fingerprint }}
{{ $shave := resources.Get "js/jquery.shave.min.js" | resources.Fingerprint }}
{{ $zzo := resources.Get "js/zzo.js" | minify | resources.Fingerprint }}
2019-11-04 13:09:44 +00:00
<script>
fetchInject([
2019-11-05 07:55:43 +00:00
"{{ $enquire.RelPermalink | relURL }}",
"{{ $prism.RelPermalink | relURL }}",
"{{ $lunr.RelPermalink | relURL }}",
"{{ $lazysizes.RelPermalink | relURL }}",
"{{ $clipboard.RelPermalink | relURL }}",
"{{ $shave.RelPermalink | relURL }}",
"{{ $zzo.RelPermalink | relURL }}",
2019-11-04 13:09:44 +00:00
]).then(() => {
});
</script>