From a91ec7ce3b39b791661e04dc36972e06c6581621 Mon Sep 17 00:00:00 2001 From: niuzhaolong Date: Sun, 4 May 2025 21:57:50 +0800 Subject: [PATCH] fix work count in CJK --- config/_default/config.toml | 2 ++ config/_default/params.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 267e5ea..34a4280 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -9,6 +9,8 @@ defaultContentLanguage = "zh-Hans" enableRobotsTXT = true summaryLength = 0 +hasCJKLanguage = true + [pagination] pagerSize = 10 diff --git a/config/_default/params.toml b/config/_default/params.toml index 288d186..b7ff364 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -51,8 +51,8 @@ fingerprintAlgorithm = "sha256" showReadingTime = true showTableOfContents = false showTaxonomies = false - showWordCount = false showComments = false + showWordCount = true # sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "threads", "telegram", "line", "weibo"] [list]