This commit is contained in:
2025-10-29 15:19:07 +00:00
parent f458250d3a
commit 07f7a50b77

View File

@@ -47,6 +47,7 @@ func TemplateContext(w http.ResponseWriter, r *http.Request, data models.Templat
}
}
// ToDo the funcs need breaking up getting large
func TemplateFuncs() template.FuncMap {
return template.FuncMap{
"plus1": func(i int) int { return i + 1 },