mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: doc titles
This commit is contained in:
1 parent
7a9f43657d
commit
37b8e75f83
2 files changed
+6
-1
No files matched your search
@@ -27,9 +27,12 @@ export const getStaticPaths = (async () => {
|
||||
}) satisfies GetStaticPaths;
|
||||
|
||||
const { content } = Astro.props;
|
||||
|
||||
const title = content.split('\n')[0].replace('# ', '');
|
||||
---
|
||||
|
||||
<!-- <title>{title}</title> -->
|
||||
<title>{title}</title>
|
||||
|
||||
<BaseLayout>
|
||||
<Page content={content} />
|
||||
</BaseLayout>
|
||||
@@ -18,6 +18,8 @@ const versions = Object.keys(
|
||||
.reverse();
|
||||
---
|
||||
|
||||
<title>BlitzKit Patches</title>
|
||||
|
||||
<BaseLayout>
|
||||
<PageWrapper align="center">
|
||||
<Heading mt="6" mb="4">BlitzKit patches</Heading>
|
||||
|
||||
Reference in new issue
Block a user