Fixed character image in Open Graph data

This commit is contained in:
Eduard Urbach 2018-03-15 17:25:10 +01:00
parent 3ddfb73e88
commit 3bab260551

View File

@ -33,6 +33,7 @@ func Get(ctx *aero.Context) string {
if character != nil { if character != nil {
openGraph.Tags["og:title"] = character.Name + "'s quote" openGraph.Tags["og:title"] = character.Name + "'s quote"
openGraph.Tags["og:image"] = "https:" + character.Image
} }
ctx.Data = openGraph ctx.Data = openGraph