Fix to integrate with astro-embed
This commit is contained in:
@@ -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>
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user