diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-06 11:41:05 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-06 11:41:05 +0800 |
| commit | 686df96c43f8bd413a50334ae2a25cd422134a33 (patch) | |
| tree | a408ad8dfe788022b772971da668a019821aae5b | |
| parent | 47099d7cd5114afa83dee85e49770678cb004f60 (diff) | |
remove: site word count in footer
Former-commit-id: c303303ecaf388037e98f48faa5a6c94fb9106a6
| -rw-r--r-- | layouts/partials/footer.html | 6 |
1 files changed, 0 insertions, 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 @@ </a></li> {{ end }} </ul> - - {{$scratch := newScratch}} - {{ range (where .Site.Pages "Kind" "page" )}} - {{$scratch.Add "total" .WordCount}} - {{ end }} - <p class="word-count">{{ T "footer.wordCount" ($scratch.Get "total") }}</p> </section> </footer> |
