mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-08 00:03:28 +00:00
Include repository owner name and description in html title (#3194)
Closes #3192
This commit is contained in:
parent
17a4d8a5e5
commit
2ce60ff314
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue