From cb77f886ea9d03e3e8d92e2e86fa1ccc51f19fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Mon, 8 May 2023 21:35:02 +0100 Subject: [PATCH] fixed bug in list.html likes and views --- layouts/_default/list.html | 18 ++++++++++-------- layouts/_default/single.html | 6 ++++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ee98b6d6..c990ef27 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,14 +10,6 @@ {{ end }} {{- end -}} - - {{ $jsPage := resources.Get "js/page.js" }} - {{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }} - - {{ $toc := and (.Params.showTableOfContents | default (.Site.Params.list.showTableOfContents | default false)) (in .TableOfContents " {{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }} @@ -27,6 +19,13 @@
{{ partial "article-meta/list.html" (dict "context" . "scope" "single") }}
+ + {{ $jsPage := resources.Get "js/page.js" }} + {{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }} +
- {{ $jsPage := resources.Get "js/page.js" }} {{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }} -
+ +