hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 931a1324503a4414e38d26efe82e1add811a8d29
parent 8378358857d852458d01c667d59d13baa59a719c
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu,  6 Dec 2018 14:57:56 +0100

tpl/hugo: Use the correct Hugo var

See #5467

Diffstat:
Mtpl/hugo/init.go | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tpl/hugo/init.go b/tpl/hugo/init.go
@@ -15,7 +15,6 @@ package site
 
 import (
 	"github.com/gohugoio/hugo/deps"
-	"github.com/gohugoio/hugo/htesting"
 	"github.com/gohugoio/hugo/tpl/internal"
 )
 
@@ -24,7 +23,7 @@ const name = "hugo"
 func init() {
 	f := func(d *deps.Deps) *internal.TemplateFuncsNamespace {
 
-		h := htesting.NewTestHugoSite().Hugo()
+		h := d.Site.Hugo()
 
 		ns := &internal.TemplateFuncsNamespace{
 			Name:    name,