Files
github-website/src/layouts/Blog.astro

29 lines
670 B
Plaintext

---
import Markdown from "@components/Markdown.astro";
interface Props {
title: string;
}
const { title } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<main class="w-[70%] m-auto py-16">
<Markdown>
<slot />
</Markdown>
</main>
</body>
</html>