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

@ -3,7 +3,11 @@ package views
import "github.com/kataras/iris/v12"
func GetAboutPage(ctx iris.Context) {
if err := ctx.View("pages/about.jet"); err != nil {
vars := iris.Map{
"activePage": "about",
}
if err := ctx.View("pages/about.jet", vars); err != nil {
showError(ctx, err)
return
}