diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index b055cf690..301d66dac 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -273,6 +273,10 @@ func (s *Site) Language() *langs.Language { return s.language } +func (s *Site) Languages() langs.Languages { + return s.h.Configs.Languages +} + func (s *Site) isEnabled(kind string) bool { if kind == kindUnknown { panic("Unknown kind") |