From 63c2a97225b3b0eb0610e6a70c65b0343b2fdb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B2=92=E7=B2=92=E6=A9=99?= Date: Sun, 26 Apr 2020 20:43:40 +0800 Subject: [PATCH] Update config.toml --- docs/config.toml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/config.toml b/docs/config.toml index 49b75bd..73ce68c 100755 --- a/docs/config.toml +++ b/docs/config.toml @@ -1,15 +1,14 @@ baseURL = "https://p4gefau1t.github.io/trojan-go" -languageCode = "en-us" -DefaultContentLanguage = "en" -title = "Trojan-Go" +languageCode = "zh-CN" +title = "Trojan-Go Docs" theme = "hugo-theme-techdoc" hasCJKLanguage = true metaDataFormat = "yaml" -defaultContentLanguage = "en" -defaultContentLanguageInSubdir= false +defaultContentLanguage = "zh-CN" +defaultContentLanguageInSubdir= true enableMissingTranslationPlaceholders = false [params] @@ -32,7 +31,7 @@ enableMissingTranslationPlaceholders = false # Open Graph settings for each page are set on the front matter. # See https://gohugo.io/templates/internal/#open-graph # See https://gohugo.io/templates/internal/#twitter-cards - title = "Hugo Techdoc Theme" + title = "Trojan-Go Docs" images = ["images/og-image.png"] # Open graph images are placed in `static/images` # Theme settings section