Updated Open Graph for users
This commit is contained in:
parent
b5f2f4f16b
commit
fe040a42f0
@ -36,12 +36,12 @@ func Profile(ctx *aero.Context, viewUser *arn.User) string {
|
|||||||
"og:image": viewUser.AvatarLink("large"),
|
"og:image": viewUser.AvatarLink("large"),
|
||||||
"og:url": "https://" + ctx.App.Config.Domain + viewUser.Link(),
|
"og:url": "https://" + ctx.App.Config.Domain + viewUser.Link(),
|
||||||
"og:site_name": "notify.moe",
|
"og:site_name": "notify.moe",
|
||||||
"og:description": viewUser.Tagline,
|
"og:description": viewUser.Introduction,
|
||||||
"og:type": "profile",
|
"og:type": "profile",
|
||||||
"profile:username": viewUser.Nick,
|
"profile:username": viewUser.Nick,
|
||||||
},
|
},
|
||||||
Meta: map[string]string{
|
Meta: map[string]string{
|
||||||
"description": viewUser.Tagline,
|
"description": viewUser.Introduction,
|
||||||
"keywords": viewUser.Nick + ",profile",
|
"keywords": viewUser.Nick + ",profile",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user