Setup templates structure
This commit is contained in:
parent
8ef198dfac
commit
b1c5adc2f2
12 changed files with 100 additions and 7 deletions
|
@ -8,6 +8,8 @@ import (
|
|||
"github.com/martini-contrib/render"
|
||||
)
|
||||
|
||||
func Home(r render.Render) {
|
||||
r.HTML(200, "home", map[string]interface{}{})
|
||||
func Dashboard(r render.Render) {
|
||||
r.HTML(200, "dashboard", map[string]interface{}{
|
||||
"Title": "Dashboard",
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue