This commit is contained in:
parent
c3e85754a3
commit
bb23d03b35
|
@ -20,9 +20,9 @@
|
|||
{{ partial "body/photoswipe" . }}
|
||||
|
||||
{{ $masonry := resources.Get `js/masonry.pkgd.min.js` | resources.Fingerprint }}
|
||||
<script defer src="{{ $masonry.RelPermalink }}"></script>
|
||||
<script src="{{ $masonry.RelPermalink }}"></script>
|
||||
{{ $imagesloaded := resources.Get `js/imagesloaded.pkgd.min.js` | resources.Fingerprint }}
|
||||
<script defer src="{{ $imagesloaded.RelPermalink }}"></script>
|
||||
<script src="{{ $imagesloaded.RelPermalink }}"></script>
|
||||
|
||||
<script>
|
||||
var $grid = $('.grid').masonry({
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{{ if $.Param "enableCustomScrollbar" }}
|
||||
|
||||
{{ $customscrollbar := resources.Get `js/perfect-scrollbar.jquery.min.js` | resources.Fingerprint }}
|
||||
<script defer src="{{ $customscrollbar.RelPermalink }}"></script>
|
||||
<script src="{{ $customscrollbar.RelPermalink }}"></script>
|
||||
{{ $customScrollbarStyle := resources.Get "css/perfect-scrollbar.min.css" }}
|
||||
<script defer src="{{ $customScrollbarStyle.RelPermalink }}"></script>
|
||||
<script src="{{ $customScrollbarStyle.RelPermalink }}"></script>
|
||||
|
||||
<script defer>
|
||||
<script>
|
||||
var pre = $('pre');
|
||||
pre.perfectScrollbar();
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{{ $jquery := resources.Get "js/jquery.min.js" | resources.Fingerprint }}
|
||||
<script src="{{ $jquery.RelPermalink }}"></script>
|
||||
{{ $clipboard := resources.Get "js/clipboard.min.js" | resources.Fingerprint }}
|
||||
<script src="{{ $clipboard.RelPermalink }}"></script>
|
||||
{{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }}
|
||||
<script defer src="{{ $enquire.RelPermalink }}"></script>
|
||||
{{ $prism := resources.Get "js/prism.min.js" | minify | resources.Fingerprint }}
|
||||
|
@ -8,9 +10,7 @@
|
|||
<script defer src="{{ $lunr.RelPermalink }}"></script>
|
||||
{{ $lazysizes := resources.Get "js/lazysizes.min.js" | resources.Fingerprint }}
|
||||
<script defer src="{{ $lazysizes.RelPermalink }}"></script>
|
||||
{{ $clipboard := resources.Get "js/clipboard.min.js" | resources.Fingerprint }}
|
||||
<script defer src="{{ $clipboard.RelPermalink }}"></script>
|
||||
{{ $shave := resources.Get "js/jquery.shave.min.js" | resources.Fingerprint }}
|
||||
<script defer src="{{ $shave.RelPermalink }}"></script>
|
||||
{{ $zzo := resources.Get "js/zzo.js" | minify | resources.Fingerprint }}
|
||||
<script defer src="{{ $zzo.RelPermalink }}"></script>
|
||||
<script defer src="{{ $zzo.RelPermalink }}"></script>
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
</div>
|
||||
|
||||
{{ $toc := resources.Get `js/jquery.toc.min.js` | resources.Fingerprint }}
|
||||
<script defer src="{{ $toc.RelPermalink }}"></script>
|
||||
<script src="{{ $toc.RelPermalink }}"></script>
|
||||
|
||||
<script defer>
|
||||
<script>
|
||||
var navbar = $('.navbar');
|
||||
|
||||
$("#toc").toc({ content: ".single__contents", headings: "h1,h2,h3,h4" });
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ if $.Param "enableMark" }}
|
||||
{{ $mark := resources.Get "js/jquery.mark.min.js" | resources.Fingerprint }}
|
||||
<script defer src="{{ $mark.RelPermalink }}"></script>
|
||||
<script src="{{ $mark.RelPermalink }}"></script>
|
||||
|
||||
<script>
|
||||
var mark = function () {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
{{ partial "sidebar/site-mark" . }}
|
||||
{{ $lunr := resources.Get "js/lunr.min.js" | resources.Fingerprint }}
|
||||
<script defer src="{{ $lunr.RelPermalink }}"></script>
|
||||
<script src="{{ $lunr.RelPermalink }}"></script>
|
||||
|
||||
<script>
|
||||
{{ if .Site.IsMultiLingual }}
|
||||
|
|
Loading…
Reference in New Issue