diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-18 08:16:51 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-18 08:16:51 +0100 |
| commit | 56e2c037b57cbe6eb8480833e78d5f1d095822f0 (patch) | |
| tree | d6d2d2223cc38c017a92e2616ebe6ef1e2cd9073 /http | |
| parent | c5c4167361749b6bd106587f5324b58b44d1b15b (diff) | |
moves <main> to default.layout
Diffstat (limited to 'http')
| -rw-r--r-- | http/share/layouts/default.layout.upphtml | 4 | ||||
| -rw-r--r-- | http/src/blog.upphtml | 2 | ||||
| -rw-r--r-- | http/src/contact.upphtml | 2 | ||||
| -rw-r--r-- | http/src/error.upphtml | 2 | ||||
| -rw-r--r-- | http/src/index.upphtml | 2 |
5 files changed, 4 insertions, 8 deletions
diff --git a/http/share/layouts/default.layout.upphtml b/http/share/layouts/default.layout.upphtml index 64f9fbf..ba94c58 100644 --- a/http/share/layouts/default.layout.upphtml +++ b/http/share/layouts/default.layout.upphtml @@ -10,7 +10,11 @@ pp "${SHARE}"/components/head.upphtml <body> #! pp "${SHARE}"/components/navbar.upphtml +#! +<main> +#! pp "$1" "$2" #! +</main> </body> </html> diff --git a/http/src/blog.upphtml b/http/src/blog.upphtml index 24d7994..6655aa1 100644 --- a/http/src/blog.upphtml +++ b/http/src/blog.upphtml @@ -28,8 +28,6 @@ YEARS="$@" pp "${SHARE}"/components/meta.upphtml #! -<main> - <section class='h-feed'> <h1>My blog</h1> diff --git a/http/src/contact.upphtml b/http/src/contact.upphtml index 2d605a3..770ec19 100644 --- a/http/src/contact.upphtml +++ b/http/src/contact.upphtml @@ -8,7 +8,6 @@ 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> @@ -95,4 +94,3 @@ pp "${SHARE}"/components/otp-dialog.upphtml await submitOtpForm(selectors); }); </script> -</main> diff --git a/http/src/error.upphtml b/http/src/error.upphtml index 1e8ef13..057006f 100644 --- a/http/src/error.upphtml +++ b/http/src/error.upphtml @@ -4,7 +4,6 @@ export DESCRIPTION="Error page for Joe Carstairs' personal website" pp "${SHARE}"/components/meta.upphtml #! -<main> <section> <h1>Got lost?</h1> @@ -13,4 +12,3 @@ pp "${SHARE}"/components/meta.upphtml my <a href='/'>homepage</a> instead. </p> </section> -</main> diff --git a/http/src/index.upphtml b/http/src/index.upphtml index 51eacba..fec3774 100644 --- a/http/src/index.upphtml +++ b/http/src/index.upphtml @@ -4,7 +4,6 @@ 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" /> @@ -46,4 +45,3 @@ pp "${SHARE}"/components/meta.upphtml </p> </div> </section> -</main> |
