43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
---
|
|
import '@styles/global.css';
|
|
import { ClientRouter } from 'astro:transitions';
|
|
|
|
import Header from '@components/Header.astro';
|
|
import Footer from '@components/Footer.astro';
|
|
|
|
export interface Props {
|
|
title: string;
|
|
frontmatter?: {
|
|
title: string;
|
|
};
|
|
}
|
|
|
|
const title = Astro.props.title || Astro.props.frontmatter?.title || 'Unknown';
|
|
---
|
|
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="robots" content="noindex" /><meta
|
|
name="description"
|
|
content="My personal blog about life, gaming, tech, and whatever else I feel like writing about."
|
|
/><link
|
|
rel="alternate"
|
|
type="application/rss+xml"
|
|
title="ghall.space - RSS"
|
|
href={`${Astro.site}rss.xml`}
|
|
/><title>{`ghall.space - ${title}`}</title>
|
|
<ClientRouter />
|
|
</head>
|
|
<body class="layout-simple" transition:animate="fade">
|
|
<Header />
|
|
<main>
|
|
<slot />
|
|
</main>
|
|
<Footer />
|
|
</body>
|
|
</html>
|