Fix to integrate with astro-embed

This commit is contained in:
prototypa
2024-04-13 11:53:04 -04:00
parent 1ffca40e5b
commit 069f2edef1
6 changed files with 172 additions and 10 deletions

View File

@@ -44,7 +44,9 @@ const metadata = merge(
---
<Layout metadata={metadata}>
<SinglePost post={{ ...post, image: image }} url={url} />
<SinglePost post={{ ...post, image: image }} url={url}>
{post.Content ? <post.Content /> : <Fragment set:html={post.content || ''} />}
</SinglePost>
<ToBlogLink />
<RelatedPosts post={post} />
</Layout>