hugo/examples/multilingual/config.toml

40 lines
631 B
TOML
Raw Normal View History

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