From fe3c643c84fa13dac7ee4f5c0a27d5aabc43911e Mon Sep 17 00:00:00 2001 From: zzossig Date: Tue, 5 Nov 2019 18:22:06 +0900 Subject: [PATCH] re --- layouts/gallery/single.html | 128 +++++------ layouts/partials/body/perfectscrollbar.html | 12 +- layouts/partials/head/scripts.html | 4 +- layouts/partials/sidebar/sidebar-single.html | 166 +++++++------- layouts/partials/sidebar/site-mark.html | 62 ++--- layouts/partials/sidebar/site-search.html | 225 ++++++++++--------- 6 files changed, 303 insertions(+), 294 deletions(-) diff --git a/layouts/gallery/single.html b/layouts/gallery/single.html index 39d63d4..68ae2af 100644 --- a/layouts/gallery/single.html +++ b/layouts/gallery/single.html @@ -20,73 +20,75 @@ {{ partial "body/photoswipe" . }} {{ $masonry := resources.Get `js/masonry.pkgd.min.js` | resources.Fingerprint }} - + {{ $imagesloaded := resources.Get `js/imagesloaded.pkgd.min.js` | resources.Fingerprint }} - + {{ end }} \ No newline at end of file diff --git a/layouts/partials/body/perfectscrollbar.html b/layouts/partials/body/perfectscrollbar.html index bae197d..5a97435 100644 --- a/layouts/partials/body/perfectscrollbar.html +++ b/layouts/partials/body/perfectscrollbar.html @@ -1,12 +1,14 @@ {{ if $.Param "enableCustomScrollbar" }} {{ $customscrollbar := resources.Get `js/perfect-scrollbar.jquery.min.js` | resources.Fingerprint }} - + {{ $customScrollbarStyle := resources.Get "css/perfect-scrollbar.min.css" }} - + - {{ end }} \ No newline at end of file diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html index 102b948..745204d 100644 --- a/layouts/partials/head/scripts.html +++ b/layouts/partials/head/scripts.html @@ -1,7 +1,7 @@ {{ $jquery := resources.Get "js/jquery.min.js" | resources.Fingerprint }} - + {{ $clipboard := resources.Get "js/clipboard.min.js" | resources.Fingerprint }} - + {{ $enquire := resources.Get "js/enquire.min.js" | resources.Fingerprint }} {{ $prism := resources.Get "js/prism.min.js" | minify | resources.Fingerprint }} diff --git a/layouts/partials/sidebar/sidebar-single.html b/layouts/partials/sidebar/sidebar-single.html index c33556e..28c2e09 100644 --- a/layouts/partials/sidebar/sidebar-single.html +++ b/layouts/partials/sidebar/sidebar-single.html @@ -8,101 +8,103 @@ {{ $toc := resources.Get `js/jquery.toc.min.js` | resources.Fingerprint }} - + {{ end }} \ No newline at end of file diff --git a/layouts/partials/sidebar/site-mark.html b/layouts/partials/sidebar/site-mark.html index a4df077..7156100 100644 --- a/layouts/partials/sidebar/site-mark.html +++ b/layouts/partials/sidebar/site-mark.html @@ -1,38 +1,40 @@ {{ if $.Param "enableMark" }} {{ $mark := resources.Get "js/jquery.mark.min.js" | resources.Fingerprint }} - + {{ end }} \ No newline at end of file diff --git a/layouts/partials/sidebar/site-search.html b/layouts/partials/sidebar/site-search.html index adc1097..07b4711 100644 --- a/layouts/partials/sidebar/site-search.html +++ b/layouts/partials/sidebar/site-search.html @@ -13,7 +13,7 @@ {{ partial "sidebar/site-mark" . }} {{ $lunr := resources.Get "js/lunr.min.js" | resources.Fingerprint }} - + {{ end }} \ No newline at end of file