Browse Source

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

Closes #3192
pull/3136/head
Sandro Santilli 8 years ago committed by 无闻
parent
commit
2ce60ff314
  1. 2
      routers/repo/view.go

2
routers/repo/view.go

@ -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

Loading…
Cancel
Save