| relLangURL added

This commit is contained in:
zzossig 2019-11-05 16:04:52 +09:00
parent 5f0b79cbad
commit 075c86f7aa
1 changed files with 9 additions and 9 deletions

View File

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