Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/template.go')
-rw-r--r--tpl/template.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tpl/template.go b/tpl/template.go
index 356d66f1e..9fbf6b7b8 100644
--- a/tpl/template.go
+++ b/tpl/template.go
@@ -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 {