mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user