Adds h-entry data to blog posts

This commit is contained in:
Periodic committed 2026-03-13 17:54:24 -07:00
1 parent b5f2d9af0b
commit 6b5fbca9bb
2 files changed
+62 -17

No files matched your search

+2 -1
View File
@@ -13,9 +13,10 @@ export async function getStaticPaths() {
type Props = CollectionEntry<'blog'>;
const post = Astro.props;
const { slug } = Astro.params;
const { Content } = await render(post);
---
<BlogPost {...post.data}>
<BlogPost slug={slug} {...post.data} >
<Content />
</BlogPost>