summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/page/site.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/page/site.go b/resources/page/site.go
index 31058637b..9728df691 100644
--- a/resources/page/site.go
+++ b/resources/page/site.go
@@ -120,7 +120,7 @@ func (t testSite) Data() map[string]interface{} {
// NewDummyHugoSite creates a new minimal test site.
func NewDummyHugoSite(cfg config.Provider) Site {
return testSite{
- h: hugo.NewInfo(hugo.EnvironmentProduction),
+ h: hugo.NewInfo(hugo.EnvironmentProduction, nil),
l: langs.NewLanguage("en", cfg),
}
}