Use no-value attributes
This commit is contained in:
parent
e63be2c43a
commit
7c5b3e668b
@ -54,7 +54,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
||||
ExtensionNavigation(user)
|
||||
if user != nil
|
||||
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme)
|
||||
script(src="/scripts", async="async")
|
||||
script(src="/scripts", async)
|
||||
script(type="application/ld+json")!= organization
|
||||
|
||||
component Content(content string)
|
||||
|
@ -10,7 +10,7 @@ component AMVMini(amv *arn.AMV, user *arn.User)
|
||||
|
||||
component AMVVideo(amv *arn.AMV)
|
||||
.video-container
|
||||
video.video.lazy(controls="controls", controlsList="nodownload")
|
||||
video.video.lazy(controls, controlsList="nodownload")
|
||||
source(data-src="https://notify.moe/videos/amvs/" + amv.File, data-type="video/webm")
|
||||
|
||||
component AMVFooter(amv *arn.AMV, user *arn.User)
|
||||
|
Loading…
Reference in New Issue
Block a user