summaryrefslogtreecommitdiffci
path: root/internal/templatemanager
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'internal/templatemanager')
-rw-r--r--internal/templatemanager/templatemanager.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/templatemanager/templatemanager.go b/internal/templatemanager/templatemanager.go
index 5c84418..9d14e15 100644
--- a/internal/templatemanager/templatemanager.go
+++ b/internal/templatemanager/templatemanager.go
@@ -8,8 +8,6 @@ import (
"path/filepath"
"strings"
"time"
-
- "github.com/SayaAndy/saya-today-web/l10n"
)
type TemplateManager struct {
@@ -40,9 +38,6 @@ var templateFuncMap = template.FuncMap{
"fdiv": func(a, b int) float64 {
return float64(a) / float64(b)
},
- "l": func(path ...any) any {
- return l10n.T.GetPath(path...)
- },
}
func NewTemplateManager(templates ...TemplateManagerTemplates) (*TemplateManager, error) {