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 3m33s

before <html> tag)
This commit is contained in:
badblocks 2026-02-27 09:23:18 -08:00
parent e80bbb9619
commit e847fc254f
No known key found for this signature in database

View file

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