Added Open Graph tags to threads and posts
This commit is contained in:
@ -21,5 +21,6 @@ func Get(ctx *aero.Context) string {
|
||||
return ctx.Error(http.StatusNotFound, "Thread not found", err)
|
||||
}
|
||||
|
||||
ctx.Data = getOpenGraph(ctx, thread)
|
||||
return ctx.HTML(components.Thread(thread, user))
|
||||
}
|
||||
|
Reference in New Issue
Block a user