mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
Setup templates structure
This commit is contained in:
15
routers/dashboard.go
Normal file
15
routers/dashboard.go
Normal 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",
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user