0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 15:31:06 +01:00

Include repository owner name and description in html title (#3194)

Closes #3192
This commit is contained in:
Sandro Santilli 2016-06-27 10:32:35 +02:00 committed by 无闻
parent 17a4d8a5e5
commit 2ce60ff314

View file

@ -30,7 +30,7 @@ const (
)
func Home(ctx *context.Context) {
ctx.Data["Title"] = ctx.Repo.Repository.Name
ctx.Data["Title"] = ctx.Repo.Repository.Owner.Name + "/" + ctx.Repo.Repository.Name + ": " + ctx.Repo.Repository.Description
ctx.Data["PageIsViewCode"] = true
ctx.Data["RequireHighlightJS"] = true