Added Open Graph data to anime

This commit is contained in:
2017-07-06 20:33:46 +02:00
parent 4cac9f5544
commit e47f1d298f
3 changed files with 26 additions and 2 deletions

View File

@ -9,5 +9,6 @@ import (
// Render layout.
func Render(ctx *aero.Context, content string) string {
user := utils.GetUser(ctx)
return components.Layout(ctx.App, ctx, user, content)
meta, _ := ctx.Data.(map[string]string)
return components.Layout(ctx.App, ctx, user, meta, content)
}