mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
@@ -96,6 +96,10 @@ func (t *TemplateAdapter) Tree() string {
|
||||
return s
|
||||
}
|
||||
|
||||
type TemplateFuncsGetter interface {
|
||||
GetFuncs() map[string]interface{}
|
||||
}
|
||||
|
||||
// TemplateTestMocker adds a way to override some template funcs during tests.
|
||||
// The interface is named so it's not used in regular application code.
|
||||
type TemplateTestMocker interface {
|
||||
|
Reference in New Issue
Block a user