working in configuration data and replacing values in frame template

This commit is contained in:
2025-09-13 22:46:02 -06:00
parent 5a437a0c64
commit 779f15f069
9 changed files with 58 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ func setupEcho() *echo.Echo {
e := echo.New()
e.Renderer = &ui.TemplateRenderer{}
e.GET("/", ui.AmWrap(func(ctxt ui.AmContext) (string, any, error) {
ctxt.VarMap().Set("amsterdam_pageTitle", "My Front Page")
return "framed_template", "top.jet", nil
}))
return e