Support embed icons on bookmarks URLs

This commit is contained in:
Hítalo Silva
2025-04-12 19:48:09 -03:00
parent eeda2104a6
commit 90254b92d2
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -5,6 +5,7 @@ import (
"html/template"
"math"
"strconv"
"strings"
"golang.org/x/text/language"
"golang.org/x/text/message"
@@ -53,6 +54,7 @@ var globalTemplateFunctions = template.FuncMap{
return template.HTML(value + ` <span class="color-base size-h5">` + label + `</span>`)
},
"hasPrefix": strings.HasPrefix,
}
func mustParseTemplate(primary string, dependencies ...string) *template.Template {