hugo/examples/multilingual/config.toml
bogem 68ebf61613 examples: Update multilingual example
Use new i18n concept

Fixes #2417
2016-11-23 19:47:09 +01:00

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