diff --git a/internal/template/functions.go b/internal/template/functions.go index 77c2a7cb..52d1daaf 100644 --- a/internal/template/functions.go +++ b/internal/template/functions.go @@ -86,7 +86,7 @@ func (f *funcMap) Map() template.FuncMap { "theme_color": model.ThemeColor, "icon": func(iconName string) template.HTML { return template.HTML(fmt.Sprintf( - ``, + ``, route.Path(f.router, "appIcon", "filename", "sprite.svg"), iconName, ))