fix: redundant 'true' at footer when no javascript is disabled

This commit is contained in:
grassblock 2025-05-23 21:59:47 +08:00
parent e605e4ed42
commit af55568839

View file

@ -74,7 +74,7 @@ const { title = pageTitle, description = siteConfig.description, ogImage = "" }
<p>Powered by <a href="https://git.gb0.dev/gb/mercury" target="_blank"><Logo width={16} height={16} /> mercury</a></p>
</div>
</footer>
{ !noscript || siteConfig.neko.enabled &&
{ (siteConfig.neko.enabled && !noscript) &&
<>
<script is:inline define:vars={{ nekoType }}>
window.NekoType = nekoType;