Improved open graph data for groups
This commit is contained in:
parent
ff725eaf4c
commit
545a2f219d
@ -8,9 +8,11 @@ import (
|
||||
func getOpenGraph(ctx *aero.Context, group *arn.Group) *arn.OpenGraph {
|
||||
return &arn.OpenGraph{
|
||||
Tags: map[string]string{
|
||||
"og:title": group.Name,
|
||||
"og:url": "https://" + ctx.App.Config.Domain + group.Link(),
|
||||
"og:site_name": "notify.moe",
|
||||
"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",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user