Added theme setting
This commit is contained in:
@ -28,7 +28,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
||||
LoadingAnimation
|
||||
StatusMessage
|
||||
if user != nil
|
||||
#user(data-id=user.ID)
|
||||
#user(data-id=user.ID, data-theme=user.Settings().Theme)
|
||||
script(src="/scripts")
|
||||
|
||||
component Content(content string)
|
||||
|
Reference in New Issue
Block a user