diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-18 19:21:59 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-18 19:21:59 +0100 |
| commit | ca8e6824eaa711105f4092365792720c9dde026b (patch) | |
| tree | 2b6493941352d11b799ee63d3f1311c13de649b8 /website/src/layouts/MicrologPost.astro | |
| parent | a0f25057283a397f006127b6f582d190d2c4294e (diff) | |
remove Astro website
Diffstat (limited to 'website/src/layouts/MicrologPost.astro')
| -rw-r--r-- | website/src/layouts/MicrologPost.astro | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/website/src/layouts/MicrologPost.astro b/website/src/layouts/MicrologPost.astro deleted file mode 100644 index fa93011..0000000 --- a/website/src/layouts/MicrologPost.astro +++ /dev/null @@ -1,43 +0,0 @@ ---- -import BaseHead from '../components/BaseHead.astro'; -import FormattedDate from '../components/FormattedDate.astro'; -import Navbar from '../components/Navbar.astro'; - -type Props = { - pubDate: Date; - title: string; -} - -const { pubDate, title } = Astro.props; - -const canonicalUrl = new URL(Astro.url.pathname, Astro.site); ---- - -<html lang="en"> - <head> - <BaseHead title={`${title} | joeac’s microlog`} description={`${title} | joeac's microlog`} /> - <link rel="stylesheet" href="/css/post.css"> - </head> - - <body> - <Navbar /> - <article class="h-entry"> - <aside> - <span> - This is a <a href="/microlog">microlog</a> post by - <a class="p-author h-card" href="/">Joe Carstairs</a>. - </span> - <span>Published: <FormattedDate date={pubDate} className="dt-published"/>.</span> - <span hidden><a class="u-url uid" href={canonicalUrl}>Permalink</a></span> - </aside> - - <header> - <h1 class="h-name">{title}</h1> - </header> - - <section class="e-content"> - <slot /> - </section> - </article> - </body> -</html> |
