mirror of
https://gitee.com/gitea/gitea
synced 2025-12-26 02:06:36 +08:00
fork render
This commit is contained in:
@@ -15,10 +15,10 @@ func Home(ctx *middleware.Context) {
|
||||
return
|
||||
}
|
||||
ctx.Data["PageIsHome"] = true
|
||||
ctx.Render.HTML(200, "home", ctx.Data)
|
||||
ctx.HTML(200, "home", ctx.Data)
|
||||
}
|
||||
|
||||
func Help(ctx *middleware.Context) {
|
||||
ctx.Data["PageIsHelp"] = true
|
||||
ctx.Render.HTML(200, "help", ctx.Data)
|
||||
ctx.HTML(200, "help", ctx.Data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user