mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
committed by
Bjørn Erik Pedersen
parent
c15ebce2fd
commit
07cbe5701e
@@ -29,7 +29,7 @@ func init() {
|
||||
if d.Conf.Language() == nil {
|
||||
panic("Language must be set")
|
||||
}
|
||||
ctx := New(langs.GetTimeFormatter(d.Conf.Language()), langs.GetLocation(d.Conf.Language()))
|
||||
ctx := New(langs.GetTimeFormatter(d.Conf.Language()), langs.GetLocation(d.Conf.Language()), d)
|
||||
|
||||
ns := &internal.TemplateFuncsNamespace{
|
||||
Name: name,
|
||||
|
Reference in New Issue
Block a user