summaryrefslogtreecommitdiffstats
path: root/utils/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/html.go')
-rw-r--r--utils/html.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/html.go b/utils/html.go
index 1df336c52..05f36eb2c 100644
--- a/utils/html.go
+++ b/utils/html.go
@@ -18,7 +18,7 @@ var htmlTemplates *template.Template
type HTMLTemplate struct {
TemplateName string
- Props map[string]string
+ Props map[string]interface{}
Html map[string]template.HTML
Locale string
}
@@ -71,7 +71,7 @@ func InitHTMLWithDir(dir string) {
func NewHTMLTemplate(templateName string, locale string) *HTMLTemplate {
return &HTMLTemplate{
TemplateName: templateName,
- Props: make(map[string]string),
+ Props: make(map[string]interface{}),
Html: make(map[string]template.HTML),
Locale: locale,
}