Add hugo.Deps

Fixes #8949
This commit is contained in:
Bjørn Erik Pedersen
2022-01-11 15:07:04 +01:00
parent d82cef5c53
commit 7396aa945a
6 changed files with 130 additions and 6 deletions

View File

@@ -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),
}
}