Use no-value attributes

This commit is contained in:
Eduard Urbach 2018-04-24 14:12:37 +02:00
parent e63be2c43a
commit 7c5b3e668b
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
ExtensionNavigation(user) ExtensionNavigation(user)
if user != nil if user != nil
#user(data-id=user.ID, data-pro=user.IsPro(), data-theme=user.Settings().Theme) #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 script(type="application/ld+json")!= organization
component Content(content string) component Content(content string)

View File

@ -10,7 +10,7 @@ component AMVMini(amv *arn.AMV, user *arn.User)
component AMVVideo(amv *arn.AMV) component AMVVideo(amv *arn.AMV)
.video-container .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") source(data-src="https://notify.moe/videos/amvs/" + amv.File, data-type="video/webm")
component AMVFooter(amv *arn.AMV, user *arn.User) component AMVFooter(amv *arn.AMV, user *arn.User)