tpl/partials: Add templates.Exists

Fixes #5010
This commit is contained in:
Bjørn Erik Pedersen
2018-07-31 11:35:38 +02:00
parent 0afa2897a0
commit 0ba19c57f1
4 changed files with 122 additions and 0 deletions

View File

@@ -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"