aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/multilingual.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/multilingual.go')
-rw-r--r--hugolib/multilingual.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/hugolib/multilingual.go b/hugolib/multilingual.go
index 9b34c75e6..baebc9e0f 100644
--- a/hugolib/multilingual.go
+++ b/hugolib/multilingual.go
@@ -14,9 +14,8 @@
package hugolib
import (
- "sync"
-
"errors"
+ "sync"
"github.com/gohugoio/hugo/langs"
@@ -69,7 +68,6 @@ func newMultiLingualFromSites(cfg config.Provider, sites ...*Site) (*Multilingua
}
return &Multilingual{Languages: languages, DefaultLang: langs.NewLanguage(defaultLang, cfg)}, nil
-
}
func (ml *Multilingual) enabled() bool {