mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Create lightweight forks of text/template and html/template
This commit also removes support for Ace and Amber templates. Updates #6594
This commit is contained in:
@@ -15,6 +15,8 @@ package tpl
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/gohugoio/hugo/tpl/internal/go_templates/htmltemplate"
|
||||
|
||||
"io"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
@@ -29,9 +31,8 @@ import (
|
||||
|
||||
"github.com/spf13/afero"
|
||||
|
||||
"html/template"
|
||||
texttemplate "text/template"
|
||||
"text/template/parse"
|
||||
texttemplate "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate"
|
||||
"github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse"
|
||||
|
||||
bp "github.com/gohugoio/hugo/bufferpool"
|
||||
"github.com/gohugoio/hugo/metrics"
|
||||
|
Reference in New Issue
Block a user