Setup templates structure

This commit is contained in:
Unknown 2014-02-14 20:14:22 -05:00
parent 8ef198dfac
commit b1c5adc2f2
12 changed files with 100 additions and 7 deletions

View file

@ -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",
})
}