Fixed character image in Open Graph data
This commit is contained in:
parent
3ddfb73e88
commit
3bab260551
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user