From e70742788897138cfb971f78618641a4190707f4 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 23 Apr 2020 13:23:34 +0800 Subject: Pagination adjustment --- layouts/partials/comment-utterances.html | 4 +--- layouts/partials/footer.html | 6 +----- layouts/partials/head.html | 18 +++++------------- layouts/partials/post-meta.html | 4 ++-- layouts/partials/scripts.html | 3 +-- 5 files changed, 10 insertions(+), 25 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/comment-utterances.html b/layouts/partials/comment-utterances.html index d217238..b41aef4 100644 --- a/layouts/partials/comment-utterances.html +++ b/layouts/partials/comment-utterances.html @@ -3,7 +3,5 @@

{{ i18n "postCommentLoading" }}

- +
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 241955d..be8f5bf 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,9 +1,5 @@ \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 05670e5..305106d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,12 +33,6 @@ - -{{ if or .Params.math .Site.Params.math }} - - - -{{ end }} {{ else }} {{ $jquery := resources.Get "js/jquery.min.js" }} @@ -47,15 +41,13 @@ {{ $fontawesome := resources.Get "css/all.min.css" }} +{{ end }} + {{ if or .Params.math .Site.Params.math }} -{{ $katexCSS := resources.Get "css/katex.min.css" }} - -{{ $katexJS := resources.Get "js/katex.min.js" }} - -{{ $katexRender := resources.Get "js/auto-render.min.js" }} - -{{ end }} + + + {{ end }} diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html index 193b2fc..0164619 100644 --- a/layouts/partials/post-meta.html +++ b/layouts/partials/post-meta.html @@ -1,8 +1,8 @@ - + | - {{ .WordCount }}{{ i18n "postMetaWordCount" }} | + {{ .WordCount }}{{ i18n "postMetaWordCount" }} | {{ if .Params.tags }} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 8294611..a6dc367 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -41,8 +41,7 @@ $(function () { Modernizr.on("webp", function (result) { if (!result) { - $('

{{ i18n "webpCheckerFront" }}WebP{{ i18n "webpCheckerEnd" }}

') - .replaceAll("#content img"); + $('

{{ i18n "webpCheckerFront" }}WebP{{ i18n "webpCheckerEnd" }}

').replaceAll("#content img"); } }); }); -- cgit v1.2.3