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>

View File

@@ -11,7 +11,7 @@ import Features3 from '~/components/widgets/Features3.astro';
import FAQs from '~/components/widgets/FAQs.astro';
import Brands from '~/components/widgets/Brands.astro';
import { YouTube } from '@astro-community/astro-embed-youtube';
import { YouTube } from 'astro-embed';
const metadata = {
title: 'Startup Landing Page',