mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
Setup templates structure
This commit is contained in:
@ -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",
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user