left menus now dynamically generated

This commit is contained in:
2025-09-22 17:01:39 -06:00
parent 93aa6bd0ba
commit 46838e8f21
5 changed files with 66 additions and 15 deletions
+1
View File
@@ -27,6 +27,7 @@ func sendPageData(ctxt echo.Context, amctxt AmContext, command string, data any)
err = amctxt.Render(fmt.Sprintf("%v", data))
case "framed_template":
amctxt.VarMap().Set("amsterdam_innerPage", data)
augmentWithLeftMenus(amctxt)
err = amctxt.Render("frame.jet")
default:
err = fmt.Errorf("unknown rendering type: %s", command)