Fixed OG image data for anime pages

This commit is contained in:
Eduard Urbach 2017-11-21 14:51:25 +01:00
parent fff9b606aa
commit 08e91ffbca

View File

@ -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,