diff options
Diffstat (limited to 'tpl/templates/templates.go')
-rw-r--r-- | tpl/templates/templates.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/templates/templates.go b/tpl/templates/templates.go index 44d397e68..80eb2d378 100644 --- a/tpl/templates/templates.go +++ b/tpl/templates/templates.go @@ -34,7 +34,7 @@ type Namespace struct { // Note that this is the Unix-styled relative path including filename suffix, // e.g. partials/header.html func (ns *Namespace) Exists(name string) bool { - _, found := ns.deps.Tmpl.Lookup(name) + _, found := ns.deps.Tmpl().Lookup(name) return found } |