Added the list of quotes sorted by last and best with a correct design.

The design has been verified to be responsive and compatible with the dark theme
This commit is contained in:
Scott
2018-01-17 23:30:55 +01:00
parent 9eb4d1a234
commit c51cb4743b
11 changed files with 268 additions and 12 deletions

View File

@ -28,5 +28,9 @@ func Edit(ctx *aero.Context) string {
},
}
if quote.Character() != nil {
ctx.Data.(*arn.OpenGraph).Tags["og:image"] = quote.Character().Image
}
return ctx.HTML(components.QuoteTabs(quote, user) + editform.Render(quote, "Edit quote", user))
}