Improved OpenGraph tags

This commit is contained in:
2018-04-16 16:11:32 +02:00
parent ca020a9faa
commit 50b800971e
5 changed files with 94 additions and 41 deletions

View File

@ -19,5 +19,6 @@ func Get(ctx *aero.Context) string {
return ctx.Error(http.StatusNotFound, "AMV not found", err)
}
ctx.Data = getOpenGraph(ctx, amv)
return ctx.HTML(components.AMVPage(amv, user))
}