From 6a6b81069ed8deeb26f6804d55ec91e1b157985a Mon Sep 17 00:00:00 2001 From: JamesFlare1212 Date: Thu, 27 Apr 2023 14:19:19 +0800 Subject: [PATCH] fix: small letter doesn't show --- themes/hugo-book/i18n/zh.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/themes/hugo-book/i18n/zh.yaml b/themes/hugo-book/i18n/zh.yaml index 9e51cd9..d24f465 100644 --- a/themes/hugo-book/i18n/zh.yaml +++ b/themes/hugo-book/i18n/zh.yaml @@ -13,8 +13,5 @@ - id: bookSearchConfig translation: | { - encode: false, - tokenize: function(str) { - return str.replace(/[\x00-\x7F]/g, '').split(''); - } + split: " " } \ No newline at end of file