From af5556883907454bbc5dc00680ef4ee32584c99c Mon Sep 17 00:00:00 2001 From: grassblock Date: Fri, 23 May 2025 21:59:47 +0800 Subject: [PATCH 1/2] fix: redundant 'true' at footer when no javascript is disabled --- src/layouts/Layout.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 6cda7bd..fabdd59 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -74,7 +74,7 @@ const { title = pageTitle, description = siteConfig.description, ogImage = "" }

Powered by mercury

- { !noscript || siteConfig.neko.enabled && + { (siteConfig.neko.enabled && !noscript) && <>