Wrap BlogPost with fragment + SEO and close properly

cgen-b325fba52e144ef7940096680b4e7b40
This commit is contained in:
Builder.io 2025-10-19 21:24:17 +00:00
parent 82e5904059
commit b4b19e24f5

View file

@ -71,6 +71,8 @@ export default function BlogPost() {
if (!post) return <FourOhFourPage />;
return (
<>
<SEO pageTitle={post?.title || "Blog Post"} description={post?.excerpt || undefined} image={post?.image || null} canonical={typeof window!== 'undefined' ? window.location.href : undefined as any} />
<Layout>
<div className="min-h-screen bg-aethex-gradient py-12">
<div className="container mx-auto px-4 max-w-3xl">
@ -123,5 +125,6 @@ export default function BlogPost() {
</div>
</div>
</Layout>
</>
);
}