mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -21,7 +21,6 @@ import (
|
||||
|
||||
bp "github.com/spf13/hugo/bufferpool"
|
||||
"github.com/spf13/hugo/deps"
|
||||
"github.com/spf13/hugo/tpl/urls"
|
||||
)
|
||||
|
||||
// Some of the template funcs are'nt entirely stateless.
|
||||
@@ -29,9 +28,6 @@ type templateFuncster struct {
|
||||
funcMap template.FuncMap
|
||||
cachedPartials partialCache
|
||||
|
||||
// Namespaces
|
||||
urls *urls.Namespace
|
||||
|
||||
*deps.Deps
|
||||
}
|
||||
|
||||
@@ -39,9 +35,6 @@ func newTemplateFuncster(deps *deps.Deps) *templateFuncster {
|
||||
return &templateFuncster{
|
||||
Deps: deps,
|
||||
cachedPartials: partialCache{p: make(map[string]interface{})},
|
||||
|
||||
// Namespaces
|
||||
urls: urls.New(deps),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user