moves <main> from layout to individual pages
This commit is contained in:
@@ -10,11 +10,7 @@ pp "${SHARE}"/components/head.upphtml
|
||||
<body>
|
||||
#!
|
||||
pp "${SHARE}"/components/navbar.upphtml
|
||||
#!
|
||||
<main>
|
||||
#!
|
||||
pp "$1"
|
||||
#!
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -8,6 +8,7 @@ pp "${SHARE}"/components/meta.upphtml
|
||||
pp "${SHARE}"/components/otp-dialog.upphtml
|
||||
#!
|
||||
|
||||
<main>
|
||||
<form class=contact-form>
|
||||
<h1>Contact me</h1>
|
||||
<p hidden class=error></p>
|
||||
@@ -94,3 +95,4 @@ pp "${SHARE}"/components/otp-dialog.upphtml
|
||||
await submitOtpForm(selectors);
|
||||
});
|
||||
</script>
|
||||
</main>
|
||||
|
||||
@@ -4,6 +4,7 @@ export DESCRIPTION="Error page for Joe Carstairs' personal website"
|
||||
pp "${SHARE}"/components/meta.upphtml
|
||||
#!
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<h1>Got lost?</h1>
|
||||
|
||||
@@ -12,3 +13,4 @@ pp "${SHARE}"/components/meta.upphtml
|
||||
my <a href='/'>homepage</a> instead.
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
@@ -4,6 +4,7 @@ export DESCRIPTION="Joe Carstairs' personal website"
|
||||
pp "${SHARE}"/components/meta.upphtml
|
||||
#!
|
||||
|
||||
<main>
|
||||
<section class="h-card">
|
||||
<div>
|
||||
<img class="u-photo" src="/images/headshot.webp" height="96" width="96" />
|
||||
@@ -45,3 +46,4 @@ pp "${SHARE}"/components/meta.upphtml
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user