aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/multilingual.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2016-08-08 00:12:06 +0200
committerBjørn Erik Pedersen <[email protected]>2016-09-06 18:32:18 +0300
commite56ecab1575f1b25552988b9efff2836f05f87f9 (patch)
tree630da0933c367ab1b334b232e48abecd6081e55f /hugolib/multilingual.go
parent0a7d1d0ddc213628fcde7c0e24991246836d9f16 (diff)
downloadhugo-e56ecab1575f1b25552988b9efff2836f05f87f9.tar.gz
hugo-e56ecab1575f1b25552988b9efff2836f05f87f9.zip
Multilingual TODO-fixes, take 1
See #2309
Diffstat (limited to 'hugolib/multilingual.go')
-rw-r--r--hugolib/multilingual.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/hugolib/multilingual.go b/hugolib/multilingual.go
index 610587659..a9a2f256c 100644
--- a/hugolib/multilingual.go
+++ b/hugolib/multilingual.go
@@ -75,15 +75,6 @@ func (s *Site) multilingualEnabled() bool {
return s.Multilingual != nil && s.Multilingual.enabled()
}
-// TODO(bep) multilingo remove these
-func (s *Site) currentLanguageString() string {
- return s.currentLanguage().Lang
-}
-
-func (s *Site) currentLanguage() *helpers.Language {
- return s.Language
-}
-
func toSortedLanguages(l map[string]interface{}) (helpers.Languages, error) {
langs := make(helpers.Languages, len(l))
i := 0
@@ -107,7 +98,6 @@ func toSortedLanguages(l map[string]interface{}) (helpers.Languages, error) {
}
// Put all into the Params map
- // TODO(bep) ml reconsile with the type handling etc. from other params handlers.
language.SetParam(loki, v)
}