mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +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;
|
}) satisfies GetStaticPaths;
|
||||||
|
|
||||||
const { content } = Astro.props;
|
const { content } = Astro.props;
|
||||||
|
|
||||||
|
const title = content.split('\n')[0].replace('# ', '');
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- <title>{title}</title> -->
|
<title>{title}</title>
|
||||||
|
|
||||||
<BaseLayout>
|
<BaseLayout>
|
||||||
<Page content={content} />
|
<Page content={content} />
|
||||||
</BaseLayout>
|
</BaseLayout>
|
||||||
@@ -18,6 +18,8 @@ const versions = Object.keys(
|
|||||||
.reverse();
|
.reverse();
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<title>BlitzKit Patches</title>
|
||||||
|
|
||||||
<BaseLayout>
|
<BaseLayout>
|
||||||
<PageWrapper align="center">
|
<PageWrapper align="center">
|
||||||
<Heading mt="6" mb="4">BlitzKit patches</Heading>
|
<Heading mt="6" mb="4">BlitzKit patches</Heading>
|
||||||
|
|||||||
Reference in new issue
Block a user