Skip to content

A self-hosted dashboard that puts all your feeds in one place

Remove unused function

Svilen Markovaf04605d7d41
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 + ` <span class="color-base size-h5">` + label + `</span>`)
},
- "hasPrefix": strings.HasPrefix,
}
func mustParseTemplate(primary string, dependencies ...string) *template.Template {