diff options
Diffstat (limited to 'tpl/cast/docshelper.go')
-rw-r--r-- | tpl/cast/docshelper.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/cast/docshelper.go b/tpl/cast/docshelper.go index 2ed28e3c5..981c51551 100644 --- a/tpl/cast/docshelper.go +++ b/tpl/cast/docshelper.go @@ -29,7 +29,8 @@ func init() { if err := d.Init(); err != nil { panic(err) } - d.Site = page.NewDummyHugoSite(newTestConfig()) + conf := testconfig.GetTestConfig(nil, newTestConfig()) + d.Site = page.NewDummyHugoSite(conf) var namespaces internal.TemplateFuncsNamespaces |