muti-language-search
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -17,4 +17,4 @@
|
|||||||
tokenize: function(str) {
|
tokenize: function(str) {
|
||||||
return str.replace(/[\x00-\x7F]/g, '').split('');
|
return str.replace(/[\x00-\x7F]/g, '').split('');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user