Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-08-04 13:06:29 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-09-06 18:32:17 +0300
commitf0b91852ea5e5d3ec985286751f17e34bfc6c7bc (patch)
tree78f4df9fbb03b836638a138cf49dd18992fdd461 /commands
parented0985404db4630d1b9d3ad0b7e41fb186ae0112 (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.go2
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")))