Fix script and style tags being outside the fragment (and thus rendering
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 1m23s

before <html> tag)
This commit is contained in:
badblocks 2026-02-27 10:44:17 -08:00
parent e80bbb9619
commit 89c369d1cc
No known key found for this signature in database
2 changed files with 125 additions and 120 deletions

View file

@ -19,13 +19,16 @@
<meta name="generator" content={Astro.generator} />
<meta name="darkreader-lock" />
<link rel="sitemap" href="/sitemap-index.xml" />
<script data-goatcounter="https://badblocks.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
<slot name="head" />
</head>
<body>
<script
data-goatcounter="https://badblocks.goatcounter.com/count"
async
src="//gc.zgo.at/count.js"></script>
<script>
import "iconify-icon";
</script>
<slot name="head" />
</head>
<body>
<header>
<h1>badblocks.dev</h1>
<nav>

View file

@ -26,6 +26,9 @@ const phoneValue = pickValue("phone");
const msgValue = pickValue("msg");
---
<Layout>
<title slot="head">Contact</title>
<Fragment slot="head">
<script>
import Cap from "@cap.js/widget";
import "iconify-icon";
@ -142,8 +145,7 @@ const msgValue = pickValue("msg");
}
}
</style>
<Layout>
<title slot="head">Contact</title>
</Fragment>
<Fragment slot="content">
<h2>Contact</h2>
{