Adds h-entry data to blog posts

This commit is contained in:
2026-03-13 17:54:24 -07:00
parent b5f2d9af0b
commit 6b5fbca9bb
2 changed files with 62 additions and 17 deletions
+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>