Tweak frontend

This commit is contained in:
Eden Kirin
2023-10-26 22:36:20 +02:00
parent 442b145711
commit bf6ced948a
11 changed files with 81 additions and 39 deletions

View File

@ -7,7 +7,11 @@ import (
)
func GetIndexPage(ctx iris.Context) {
if err := ctx.View("pages/index.jet"); err != nil {
vars := iris.Map{
"activePage": "index",
}
if err := ctx.View("pages/index.jet", vars); err != nil {
showError(ctx, err)
return
}