Improved open graph data for groups

This commit is contained in:
Eduard Urbach 2018-11-22 18:46:57 +09:00
parent ff725eaf4c
commit 545a2f219d

View File

@ -9,6 +9,8 @@ func getOpenGraph(ctx *aero.Context, group *arn.Group) *arn.OpenGraph {
return &arn.OpenGraph{
Tags: map[string]string{
"og:title": group.Name,
"og:description": group.Tagline,
"og:image": "https:" + group.ImageLink("large"),
"og:url": "https://" + ctx.App.Config.Domain + group.Link(),
"og:site_name": "notify.moe",
},