More pages

This commit is contained in:
Eden Kirin
2023-10-24 09:54:23 +02:00
parent 2c27723049
commit 264858b81e
8 changed files with 96 additions and 40 deletions

10
app/views/about.go Normal file
View File

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