diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/allconfig/allconfig.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/allconfig/allconfig.go b/config/allconfig/allconfig.go index 742a28150..413baebd1 100644 --- a/config/allconfig/allconfig.go +++ b/config/allconfig/allconfig.go @@ -733,7 +733,8 @@ func (c *Configs) Init() error { c.Languages = languages c.LanguagesDefaultFirst = languagesDefaultFirst - c.ContentPathParser = paths.PathParser{LanguageIndex: languagesDefaultFirst.AsIndexSet()} + + c.ContentPathParser = paths.PathParser{LanguageIndex: languagesDefaultFirst.AsIndexSet(), IsLangDisabled: c.Base.IsLangDisabled} c.configLangs = make([]config.AllProvider, len(c.Languages)) for i, l := range c.LanguagesDefaultFirst { |