Added auth layout and route for login.
This commit is contained in:
parent
869fa82f14
commit
fe0fb8c801
8 changed files with 124 additions and 32 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue