diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-08-04 12:06:29 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-06 18:32:17 +0300 |
commit | f0b91852ea5e5d3ec985286751f17e34bfc6c7bc (patch) | |
tree | 78f4df9fbb03b836638a138cf49dd18992fdd461 /commands | |
parent | ed0985404db4630d1b9d3ad0b7e41fb186ae0112 (diff) |
Rework the multilingual docs
And in the same go adjusted some minor parts of the language API:
Add LanguagePrefix alias to Node and rename the Multilingual config section to Languages.
See #2309
Diffstat (limited to 'commands')
-rw-r--r-- | commands/multilingual.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/multilingual.go b/commands/multilingual.go index 4d0f6e107..16f392acc 100644 --- a/commands/multilingual.go +++ b/commands/multilingual.go @@ -13,7 +13,7 @@ import ( func readMultilingualConfiguration() (*hugolib.HugoSites, error) { sites := make([]*hugolib.Site, 0) - multilingual := viper.GetStringMap("Multilingual") + multilingual := viper.GetStringMap("Languages") if len(multilingual) == 0 { // TODO(bep) multilingo langConfigsList = append(langConfigsList, hugolib.NewLanguage("en")) sites = append(sites, hugolib.NewSite(hugolib.NewLanguage("en"))) |