mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
8378358857
commit
931a132450
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue