Update scripts.html

This commit is contained in:
zzossig 2019-11-05 16:55:43 +09:00
parent 45841ebc04
commit c66e487a17
1 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
{{ $fetchinject := resources.Get "js/fetch-inject.umd.min.js" | resources.Fingerprint }} {{ $fetchinject := resources.Get "js/fetch-inject.umd.min.js" | resources.Fingerprint }}
<script src="{{ $fetchinject.RelPermalink }}"></script> <script src="{{ $fetchinject.RelPermalink | relURL }}"></script>
{{ $jquery := resources.Get "js/jquery.min.js" | resources.Fingerprint }} {{ $jquery := resources.Get "js/jquery.min.js" | resources.Fingerprint }}
<script src="{{ $jquery.RelPermalink }}"></script> <script src="{{ $jquery.RelPermalink | relURL }}"></script>
{{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }} {{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }}
{{ $prism := resources.Get "js/prism.min.js" | minify | resources.Fingerprint }} {{ $prism := resources.Get "js/prism.min.js" | minify | resources.Fingerprint }}
@ -12,13 +12,13 @@
{{ $zzo := resources.Get "js/zzo.js" | minify | resources.Fingerprint }} {{ $zzo := resources.Get "js/zzo.js" | minify | resources.Fingerprint }}
<script> <script>
fetchInject([ fetchInject([
"{{ $enquire.RelPermalink }}", "{{ $enquire.RelPermalink | relURL }}",
"{{ $prism.RelPermalink }}", "{{ $prism.RelPermalink | relURL }}",
"{{ $lunr.RelPermalink }}", "{{ $lunr.RelPermalink | relURL }}",
"{{ $lazysizes.RelPermalink }}", "{{ $lazysizes.RelPermalink | relURL }}",
"{{ $clipboard.RelPermalink }}", "{{ $clipboard.RelPermalink | relURL }}",
"{{ $shave.RelPermalink }}", "{{ $shave.RelPermalink | relURL }}",
"{{ $zzo.RelPermalink }}", "{{ $zzo.RelPermalink | relURL }}",
]).then(() => { ]).then(() => {
}); });
</script> </script>