first commit
This commit is contained in:
commit
3d986c4ee2
27 changed files with 597 additions and 0 deletions
10
controllers/home.go
Normal file
10
controllers/home.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package controllers
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
func Homepage(c *fiber.Ctx) error {
|
||||
return c.Render("index", fiber.Map{
|
||||
"PageTitle": "Accueil",
|
||||
"Title": "Hello, World!",
|
||||
}, "layouts/main")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue