18 lines
306 B
Go
18 lines
306 B
Go
package handlers
|
|
|
|
import (
|
|
"fiber-sessions/app/templates"
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
var pcAbout templates.PageContext = templates.PageContext{
|
|
Title: "Welcome to the demo - About",
|
|
ActivePage: "about",
|
|
}
|
|
|
|
func About(f *fiber.Ctx) error {
|
|
Render(f, templates.About(pcAbout))
|
|
return nil
|
|
}
|