Fixed OG image data for anime pages
This commit is contained in:
parent
fff9b606aa
commit
08e91ffbca
@ -90,7 +90,7 @@ func Get(ctx *aero.Context) string {
|
|||||||
openGraph := &arn.OpenGraph{
|
openGraph := &arn.OpenGraph{
|
||||||
Tags: map[string]string{
|
Tags: map[string]string{
|
||||||
"og:title": anime.Title.Canonical,
|
"og:title": anime.Title.Canonical,
|
||||||
"og:image": anime.Image("large"),
|
"og:image": "https:" + anime.Image("large"),
|
||||||
"og:url": "https://" + ctx.App.Config.Domain + anime.Link(),
|
"og:url": "https://" + ctx.App.Config.Domain + anime.Link(),
|
||||||
"og:site_name": "notify.moe",
|
"og:site_name": "notify.moe",
|
||||||
"og:description": description,
|
"og:description": description,
|
||||||
|
Loading…
Reference in New Issue
Block a user