Updated Open Graph for users

This commit is contained in:
Eduard Urbach 2018-10-31 10:04:21 +09:00
parent b5f2f4f16b
commit fe040a42f0

View File

@ -36,12 +36,12 @@ func Profile(ctx *aero.Context, viewUser *arn.User) string {
"og:image": viewUser.AvatarLink("large"),
"og:url": "https://" + ctx.App.Config.Domain + viewUser.Link(),
"og:site_name": "notify.moe",
"og:description": viewUser.Tagline,
"og:description": viewUser.Introduction,
"og:type": "profile",
"profile:username": viewUser.Nick,
},
Meta: map[string]string{
"description": viewUser.Tagline,
"description": viewUser.Introduction,
"keywords": viewUser.Nick + ",profile",
},
}