Hand, Some other changes

This commit is contained in:
Simon Martens
2025-04-28 14:47:55 +02:00
parent 133a9ac9ef
commit 5ffa19776e
7 changed files with 197 additions and 56 deletions

View File

@@ -53,7 +53,7 @@ func main() {
engine := templating.New(&views.LayoutFS, &views.RoutesFS)
engine.AddFuncs(lib.FuncMap())
engine.AddFunc("ParseGeneric", functions.ParseGeneric)
engine.AddFunc("ParseGeneric", functions.Parse(lib))
storage := memory.New(memory.Config{
GCInterval: 24 * time.Hour,
})