From 686df96c43f8bd413a50334ae2a25cd422134a33 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 6 May 2025 11:41:05 +0800 Subject: remove: site word count in footer Former-commit-id: c303303ecaf388037e98f48faa5a6c94fb9106a6 --- layouts/partials/footer.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 117fa90e..a4648feb 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -28,11 +28,5 @@ {{ end }} - - {{$scratch := newScratch}} - {{ range (where .Site.Pages "Kind" "page" )}} - {{$scratch.Add "total" .WordCount}} - {{ end }} -

{{ T "footer.wordCount" ($scratch.Get "total") }}

-- cgit v1.2.3