diff --git a/template.go b/template.go index 2f133e7e..1fae0d37 100644 --- a/template.go +++ b/template.go @@ -112,7 +112,7 @@ func BuildTemplate(dir string) error { return err } for k, v := range self.files { - BeeTemplates[k] = template.Must(template.New("beegoTemplate"+k).Funcs(beegoTplFuncMap).ParseFiles(v...)).Delims(TemplateLeft, TemplateRight) + BeeTemplates[k] = template.Must(template.New("beegoTemplate"+k).Delims(TemplateLeft, TemplateRight).Funcs(beegoTplFuncMap).ParseFiles(v...)) } return nil }