From 517cfc09287ad36800c3c69efdb03ffb5769a6ca Mon Sep 17 00:00:00 2001 From: Zhengchen Tao Date: Mon, 11 May 2026 17:21:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=BB=98=E8=AE=A4=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20zh=20=E4=BB=A5=E5=91=BD=E4=B8=AD=20Stack?= =?UTF-8?q?=20=E4=B8=BB=E9=A2=98=20i18n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit defaultContentLanguage 原为 zh-cn,但主题 i18n 只有 zh.toml 没有 zh-cn.toml, 导致 i18n 字符串(复制按钮文案 / 阅读时长 / 归档 等)全部解析为空串。 RSS 的 languageCode 仍保留 zh-cn。 --- hugo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo.yaml b/hugo.yaml index 3f82254..2cadded 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -2,7 +2,7 @@ baseURL: "https://blog.zhengchentao.win/" title: "陶政辰的笔记本" theme: stack -defaultContentLanguage: zh-cn +defaultContentLanguage: zh hasCJKLanguage: true languageCode: zh-cn