diff --git a/common.go b/common.go index d1de775..7d30861 100644 --- a/common.go +++ b/common.go @@ -6,7 +6,7 @@ import ( var ( debugMode bool = true - funcs = template.FuncMap{ + funcs = template.FuncMap{ "sub": func(a, b int) int { return a - b }, @@ -15,10 +15,3 @@ var ( }, } ) - -func max(a, b int) int { - if a > b { - return a - } - return b -} diff --git a/templates/settings.html b/templates/settings.html index 745bcf8..b484e7e 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -47,7 +47,7 @@