Update zh-cn deploy config
This commit is contained in:
parent
0e63f0b924
commit
028406ba18
1 changed files with 11 additions and 9 deletions
12
config.toml
12
config.toml
|
@ -1,7 +1,9 @@
|
||||||
baseURL = "https://docs.joinmastodon.org/"
|
baseURL = "https://mastodon.d10n.wholetrans.org/"
|
||||||
languageCode = "en-us"
|
languageCode = "zh-cn"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "zh-cn"
|
||||||
title = "Mastodon documentation"
|
# To avoid alias conflict
|
||||||
|
defaultContentLanguageInSubdir = true
|
||||||
|
title = "Mastodon 文档"
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
pygmentsStyle = "github-dark"
|
pygmentsStyle = "github-dark"
|
||||||
metaDataFormat = "yaml"
|
metaDataFormat = "yaml"
|
||||||
|
@ -203,7 +205,7 @@ disablePathToLower = true
|
||||||
[languages.zh-cn]
|
[languages.zh-cn]
|
||||||
contentDir = "content/zh-cn"
|
contentDir = "content/zh-cn"
|
||||||
languageName = "简体中文"
|
languageName = "简体中文"
|
||||||
weight = 1
|
weight = -100
|
||||||
|
|
||||||
[languages.ja]
|
[languages.ja]
|
||||||
contentDir = "content/ja"
|
contentDir = "content/ja"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue