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