summaryrefslogtreecommitdiffstats
path: root/scripts/fork_go_templates/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/fork_go_templates/main.go')
-rw-r--r--scripts/fork_go_templates/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/fork_go_templates/main.go b/scripts/fork_go_templates/main.go
index 148785883..1cae78a43 100644
--- a/scripts/fork_go_templates/main.go
+++ b/scripts/fork_go_templates/main.go
@@ -57,6 +57,8 @@ var (
`"internal/fmtsort"`, `"github.com/gohugoio/hugo/tpl/internal/go_templates/fmtsort"`,
// Rename types and function that we want to overload.
"type state struct", "type stateOld struct",
+ "func (s *state) evalFunction", "func (s *state) evalFunctionOld",
+ "func (s *state) evalField(", "func (s *state) evalFieldOld(",
)
htmlTemplateReplacers = strings.NewReplacer(