Skip to content

Commit

Permalink
代碼:使用 zh-hant 語言碼
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 5, 2024
1 parent bf6c106 commit b4aabd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

baseURL = "https://io-oi.me/"
title = "reuixiy"
languageCode = "zh-Hant"
languageCode = "zh-hant"
hasCJKLanguage = true
# 版權資訊(支援 Markdown)
copyright = "在保留本文作者及本文連結的前提下,非商業用途隨意轉載分享。"
Expand All @@ -15,7 +15,7 @@ theme = "meme"
newContentEditor = ""

# i18n
defaultContentLanguage = "zh-tw"
defaultContentLanguage = "zh-hant"
defaultContentLanguageInSubdir = false

# 是否複數化列表頁面的標題
Expand Down Expand Up @@ -1567,11 +1567,11 @@ uglyURLs = false
# 自行添加的多語言站點配置

# 中文
[languages.zh-tw]
[languages.zh-hant]
languageName = "中文"
contentDir = "content/zh"
weight = 1
[languages.zh-tw.params]
[languages.zh-hant.params]
contentDir = "content/zh"

# 英文
Expand Down
2 changes: 1 addition & 1 deletion themes/meme
Submodule meme updated 2 files
+209 −0 i18n/zh-hans.toml
+209 −0 i18n/zh-hant.toml

0 comments on commit b4aabd6

Please sign in to comment.