Added auth layout and route for login.

This commit is contained in:
mikestefanello 2021-12-03 15:41:40 -05:00
parent 869fa82f14
commit fe0fb8c801
8 changed files with 124 additions and 32 deletions

View file

@ -13,6 +13,8 @@ func (h *Home) Get(c echo.Context) error {
p.Layout = "main"
p.Name = "home"
p.Data = "Hello world"
p.Metatags.Description = "Welcome to the homepage."
p.Metatags.Keywords = []string{"Go", "MVC", "Web", "Software"}
return h.RenderPage(c, p)
}