chore: imgtonormal add at xmlTmpl

This commit is contained in:
henry.chen
2022-11-20 23:37:49 +08:00
parent 4bfff2e5e9
commit 445b188517
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,8 @@ func init() {
var err error
xmlTmpl, err = template.New("").Funcs(template.FuncMap{
"dateformat": tools.DateFormat,
"dateformat": tools.DateFormat,
"imgtonormal": tools.ImgToNormal,
}).ParseGlob(root)
if err != nil {
panic(err)