summaryrefslogtreecommitdiffstats
path: root/tpl/tplimpl
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-07-31 11:35:38 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-07-31 13:28:15 +0200
commit0ba19c57f180c33b41c64335ea1d1c89335d34c0 (patch)
treedf2ca707664574f34eedb3234a781258a01a477c /tpl/tplimpl
parent0afa2897a0cf90f4348929ef432202efddc183a0 (diff)
tpl/partials: Add templates.Exists
Fixes #5010
Diffstat (limited to 'tpl/tplimpl')
-rw-r--r--tpl/tplimpl/template_funcs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/tplimpl/template_funcs.go b/tpl/tplimpl/template_funcs.go
index f1ed7f36f..27ffcd97a 100644
--- a/tpl/tplimpl/template_funcs.go
+++ b/tpl/tplimpl/template_funcs.go
@@ -40,6 +40,7 @@ import (
_ "github.com/gohugoio/hugo/tpl/resources"
_ "github.com/gohugoio/hugo/tpl/safe"
_ "github.com/gohugoio/hugo/tpl/strings"
+ _ "github.com/gohugoio/hugo/tpl/templates"
_ "github.com/gohugoio/hugo/tpl/time"
_ "github.com/gohugoio/hugo/tpl/transform"
_ "github.com/gohugoio/hugo/tpl/urls"