diff --git a/config.toml b/config.toml index 4f45585..15f9658 100644 --- a/config.toml +++ b/config.toml @@ -3,7 +3,7 @@ title = 'Academic Resources' theme = "hugo-book" defaultContentLanguage = "en" -languageCode = ["zh","en"] +languageCode = "zh" hasCJKLanguage = true # (Optional) Set Google Analytics if you use it to track your website. diff --git a/themes/hugo-book/i18n/zh.yaml b/themes/hugo-book/i18n/zh.yaml index 6f326d1..9e51cd9 100644 --- a/themes/hugo-book/i18n/zh.yaml +++ b/themes/hugo-book/i18n/zh.yaml @@ -17,4 +17,4 @@ tokenize: function(str) { return str.replace(/[\x00-\x7F]/g, '').split(''); } - } + } \ No newline at end of file