This commit is contained in:
Eden Kirin
2024-02-06 20:44:51 +01:00
parent a47e8a39b6
commit 9cd3bee9a5
8 changed files with 22 additions and 12 deletions

View File

@ -87,7 +87,7 @@ func Home(request *requests.Request, pc PageContext) templ.Component {
}
return templ_7745c5c3_Err
})
templ_7745c5c3_Err = baseLayout(request, pc).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
templ_7745c5c3_Err = baseLayout(request, BaseLayoutContext{Title: pc.Title, ActivePage: "home"}).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}