moves <main> to default.layout

This commit is contained in:
2026-06-18 08:16:51 +01:00
parent c5c4167361
commit 56e2c037b5
5 changed files with 4 additions and 8 deletions
@@ -10,7 +10,11 @@ pp "${SHARE}"/components/head.upphtml
<body> <body>
#! #!
pp "${SHARE}"/components/navbar.upphtml pp "${SHARE}"/components/navbar.upphtml
#!
<main>
#!
pp "$1" "$2" pp "$1" "$2"
#! #!
</main>
</body> </body>
</html> </html>
-2
View File
@@ -28,8 +28,6 @@ YEARS="$@"
pp "${SHARE}"/components/meta.upphtml pp "${SHARE}"/components/meta.upphtml
#! #!
<main>
<section class='h-feed'> <section class='h-feed'>
<h1>My blog</h1> <h1>My blog</h1>
-2
View File
@@ -8,7 +8,6 @@ pp "${SHARE}"/components/meta.upphtml
pp "${SHARE}"/components/otp-dialog.upphtml pp "${SHARE}"/components/otp-dialog.upphtml
#! #!
<main>
<form class=contact-form> <form class=contact-form>
<h1>Contact me</h1> <h1>Contact me</h1>
<p hidden class=error></p> <p hidden class=error></p>
@@ -95,4 +94,3 @@ pp "${SHARE}"/components/otp-dialog.upphtml
await submitOtpForm(selectors); await submitOtpForm(selectors);
}); });
</script> </script>
</main>
-2
View File
@@ -4,7 +4,6 @@ export DESCRIPTION="Error page for Joe Carstairs' personal website"
pp "${SHARE}"/components/meta.upphtml pp "${SHARE}"/components/meta.upphtml
#! #!
<main>
<section> <section>
<h1>Got lost?</h1> <h1>Got lost?</h1>
@@ -13,4 +12,3 @@ pp "${SHARE}"/components/meta.upphtml
my <a href='/'>homepage</a> instead. my <a href='/'>homepage</a> instead.
</p> </p>
</section> </section>
</main>
-2
View File
@@ -4,7 +4,6 @@ export DESCRIPTION="Joe Carstairs' personal website"
pp "${SHARE}"/components/meta.upphtml pp "${SHARE}"/components/meta.upphtml
#! #!
<main>
<section class="h-card"> <section class="h-card">
<div> <div>
<img class="u-photo" src="/images/headshot.webp" height="96" width="96" /> <img class="u-photo" src="/images/headshot.webp" height="96" width="96" />
@@ -46,4 +45,3 @@ pp "${SHARE}"/components/meta.upphtml
</p> </p>
</div> </div>
</section> </section>
</main>