From 7c5b3e668b03891648f54576078ec0b01efbc274 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 24 Apr 2018 14:12:37 +0200 Subject: [PATCH] Use no-value attributes --- layout/layout.pixy | 2 +- mixins/AMV.pixy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/layout.pixy b/layout/layout.pixy index 2804543a..dac3911a 100644 --- a/layout/layout.pixy +++ b/layout/layout.pixy @@ -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) diff --git a/mixins/AMV.pixy b/mixins/AMV.pixy index 9986fa4e..7c28bcf7 100644 --- a/mixins/AMV.pixy +++ b/mixins/AMV.pixy @@ -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)