Skip to content

Commit

Permalink
[站务] set lang=zh-cn
Browse files Browse the repository at this point in the history
  • Loading branch information
winsphinx committed Nov 16, 2024
1 parent 6f20e0d commit 35523fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ PygmentsOptions = "linenos=table"
category = "categories"

# language support # en / zh-cn / other... translations present in i18n/
defaultContentLanguage = "en" # Default language to use
[languages.en]
languageCode = "en"
defaultContentLanguage = "zh-cn" # Default language to use
[languages.zh-cn]
languageCode = "zh-cn"

Expand All @@ -40,7 +38,7 @@ defaultContentLanguage = "en" # Default language to use

[sitemap] # essential # 必需
changefreq = "weekly"
priority = 0.5
priority = 1.0
filename = "sitemap.xml"

[[menu.main]] # config your menu # 配置目录
Expand Down

0 comments on commit 35523fe

Please sign in to comment.