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

15
routers/dashboard.go Normal file
View file

@ -0,0 +1,15 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package routers
import (
"github.com/martini-contrib/render"
)
func Dashboard(r render.Render) {
r.HTML(200, "dashboard", map[string]interface{}{
"Title": "Dashboard",
})
}