Skip to content

Commit a064153

Browse files
authored
Set opengraph attributes on org pages (#12803)
Fix #12778 Signed-off-by: Andrew Thornton <[email protected]>
1 parent bfd9ca3 commit a064153

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routers/org/home.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ func Home(ctx *context.Context) {
3232
return
3333
}
3434

35+
ctx.Data["PageIsUserProfile"] = true
3536
ctx.Data["Title"] = org.DisplayName()
3637

3738
var orderBy models.SearchOrderBy
@@ -119,6 +120,7 @@ func Home(ctx *context.Context) {
119120
return
120121
}
121122

123+
ctx.Data["Owner"] = org
122124
ctx.Data["Repos"] = repos
123125
ctx.Data["Total"] = count
124126
ctx.Data["MembersTotal"] = membersCount

0 commit comments

Comments
 (0)