Browse Source

Set opengraph attributes on org pages (#12803)

Fix #12778

Signed-off-by: Andrew Thornton <art27@cantab.net>
mj-v1.14.3
zeripath 2 years ago
committed by GitHub
parent
commit
a064153235
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      routers/org/home.go

2
routers/org/home.go

@ -32,6 +32,7 @@ func Home(ctx *context.Context) {
return
}
ctx.Data["PageIsUserProfile"] = true
ctx.Data["Title"] = org.DisplayName()
var orderBy models.SearchOrderBy
@ -119,6 +120,7 @@ func Home(ctx *context.Context) {
return
}
ctx.Data["Owner"] = org
ctx.Data["Repos"] = repos
ctx.Data["Total"] = count
ctx.Data["MembersTotal"] = membersCount

Loading…
Cancel
Save