2019-11-05 07:46:33 +00:00
|
|
|
{{ $jquery := resources.Get "js/jquery.min.js" | resources.Fingerprint }}
|
2019-11-05 15:13:43 +00:00
|
|
|
<script src="{{ $jquery.RelPermalink }}"></script>
|
2019-11-05 08:59:17 +00:00
|
|
|
{{ $clipboard := resources.Get "js/clipboard.min.js" | resources.Fingerprint }}
|
2019-11-05 09:22:06 +00:00
|
|
|
<script defer src="{{ $clipboard.RelPermalink }}"></script>
|
2019-11-05 07:46:33 +00:00
|
|
|
{{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }}
|
2019-11-05 08:01:56 +00:00
|
|
|
<script defer src="{{ $enquire.RelPermalink }}"></script>
|
2019-11-06 16:47:35 +00:00
|
|
|
{{ $prism := resources.Get "js/prism.min.js" | resources.Minify | resources.Fingerprint }}
|
2019-11-05 08:01:56 +00:00
|
|
|
<script defer src="{{ $prism.RelPermalink }}"></script>
|
2019-11-05 07:46:33 +00:00
|
|
|
{{ $lazysizes := resources.Get "js/lazysizes.min.js" | resources.Fingerprint }}
|
2019-11-05 08:01:56 +00:00
|
|
|
<script defer src="{{ $lazysizes.RelPermalink }}"></script>
|
2019-11-05 07:46:33 +00:00
|
|
|
{{ $shave := resources.Get "js/jquery.shave.min.js" | resources.Fingerprint }}
|
2019-11-05 08:01:56 +00:00
|
|
|
<script defer src="{{ $shave.RelPermalink }}"></script>
|
2019-11-06 16:47:35 +00:00
|
|
|
{{ $zzo := resources.Get "js/zzo.js" | resources.Minify | resources.Fingerprint }}
|
2019-11-05 08:59:17 +00:00
|
|
|
<script defer src="{{ $zzo.RelPermalink }}"></script>
|
2019-11-06 16:47:35 +00:00
|
|
|
|
|
|
|
{{ range .Site.Params.custom_js -}}
|
|
|
|
{{ $custom_template := resources.Get . }}
|
|
|
|
{{ if $custom_template }}
|
|
|
|
{{ $custom_js := $custom_template | resources.Minify | resources.Fingerprint }}
|
|
|
|
<script defer src="{{ $custom_js.RelPermalink }}"></script>
|
|
|
|
{{ end }}
|
|
|
|
{{- end }}
|