Tweak frontend
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user