Skip to content

Commit

Permalink
add germany support
Browse files Browse the repository at this point in the history
  • Loading branch information
pookz@stme committed Nov 27, 2023
1 parent 3956cb0 commit 2862b06
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,39 @@ timeZone = "Asia/Shanghai"
title = "GitHub"
weight = 20

[[de.main]]
identifier = "posts"
name = "Beiträge"
url = "/posts/"
weight = 1
[[de.main]]
identifier = "about"
name = "Über"
url = "/about/"
weight = 2
[[de.main]]
identifier = "categories"
name = "Kategorien"
url = "/categories/"
weight = 3
[[de.main]]
identifier = "links"
name = "Links"
url = "/links/"
weight = 8
[[de.main]]
identifier = "rss"
pre = "<i class='fas fa-rss-square'></i>"
url = "/index.xml"
title = "RSS"
weight = 18
[[de.main]]
identifier = "github"
pre = "<i class='fab fa-github fa-fw'></i>"
url = "https://github.com/dreammis"
title = "GitHub"
weight = 20


[params]
defaultTheme = "auto" # 网站默认主题 ("light", "dark", "auto")
Expand Down Expand Up @@ -379,6 +412,33 @@ copyright = "一步步带你搭建属于你的个人家庭NAS存储和私有云
url = "/links/"
weight = 8

[languages.de]
weight = 2
title = "NasDaddy - Self Hosted App"
languageCode = "de"
languageName = "De"
contentDir = 'content/germany'
[[languages.de.menu.main]]
identifier = "posts"
name = "Beiträge"
url = "/posts/"
weight = 1
[[languages.de.menu.main]]
identifier = "about"
name = "Über"
url = "/about/"
weight = 2
[[languages.de.menu.main]]
identifier = "categories"
name = "Kategorien"
url = "/categories/"
weight = 3
[[languages.de.menu.main]]
identifier = "links"
name = "Links"
url = "/links/"
weight = 8

[languages.zh-cn]
weight = 1
title = "老爸的数字花园 - Nas 私有云"
Expand Down

0 comments on commit 2862b06

Please sign in to comment.