mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 15:01:33 +00:00
68ebf61613
Use new i18n concept Fixes #2417
39 lines
631 B
TOML
39 lines
631 B
TOML
baseURL = "http://example.com"
|
|
|
|
defaultContentLanguage = "en"
|
|
|
|
[taxonomies]
|
|
group = "groups"
|
|
|
|
[languages]
|
|
[languages.en]
|
|
weight = 0
|
|
title = "My multilingual site"
|
|
[[languages.en.menu.main]]
|
|
url = "/home"
|
|
name = "Home"
|
|
weight = 0
|
|
[[languages.en.menu.main]]
|
|
url = "/news"
|
|
name = "News"
|
|
weight = 1
|
|
[[languages.en.menu.main]]
|
|
url = "/about"
|
|
name = "About"
|
|
weight = 2
|
|
|
|
[languages.et]
|
|
weight = 1
|
|
title = "Minu mitmekeelne leht"
|
|
[[languages.et.menu.main]]
|
|
url = "/kodu"
|
|
name = "Kodu"
|
|
weight = 0
|
|
[[languages.et.menu.main]]
|
|
url = "/uudised"
|
|
name = "Uudised"
|
|
weight = 1
|
|
[[languages.et.menu.main]]
|
|
url = "/minust"
|
|
name = "Minust"
|
|
weight = 2
|