summaryrefslogtreecommitdiffstats
path: root/tpl/partials
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-12-10 08:02:15 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-12-12 09:59:34 +0100
commit167c01530bb295c8b8d35921eb27ffa5bee76dfe (patch)
tree338ba8c18bf8533bb0fec5506a12e78b656d6723 /tpl/partials
parent4c804319f6db0b8459cc9b5df4a904fd2c55dedd (diff)
Create lightweight forks of text/template and html/template
This commit also removes support for Ace and Amber templates. Updates #6594
Diffstat (limited to 'tpl/partials')
-rw-r--r--tpl/partials/partials.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/partials/partials.go b/tpl/partials/partials.go
index da42acb20..3380a5a9e 100644
--- a/tpl/partials/partials.go
+++ b/tpl/partials/partials.go
@@ -24,7 +24,8 @@ import (
"reflect"
"strings"
"sync"
- texttemplate "text/template"
+
+ texttemplate "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate"
"github.com/gohugoio/hugo/helpers"