diff --git a/internal/glance/templates.go b/internal/glance/templates.go index 8164eb0..699772d 100644 --- a/internal/glance/templates.go +++ b/internal/glance/templates.go @@ -5,7 +5,6 @@ import ( "html/template" "math" "strconv" - "strings" "golang.org/x/text/language" "golang.org/x/text/message" @@ -54,7 +53,6 @@ var globalTemplateFunctions = template.FuncMap{ return template.HTML(value + ` ` + label + ``) }, - "hasPrefix": strings.HasPrefix, } func mustParseTemplate(primary string, dependencies ...string) *template.Template {