muti-language-search

This commit is contained in:
JamesFlare1212
2023-04-27 14:07:09 +08:00
parent 0079bd21d8
commit 24b9b4977b
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ title = 'Academic Resources'
theme = "hugo-book" theme = "hugo-book"
defaultContentLanguage = "en" defaultContentLanguage = "en"
languageCode = ["zh","en"] languageCode = "zh"
hasCJKLanguage = true hasCJKLanguage = true
# (Optional) Set Google Analytics if you use it to track your website. # (Optional) Set Google Analytics if you use it to track your website.

View File

@@ -17,4 +17,4 @@
tokenize: function(str) { tokenize: function(str) {
return str.replace(/[\x00-\x7F]/g, '').split(''); return str.replace(/[\x00-\x7F]/g, '').split('');
} }
} }