Wrap BlogPost with fragment + SEO and close properly
cgen-b325fba52e144ef7940096680b4e7b40
This commit is contained in:
parent
82e5904059
commit
b4b19e24f5
1 changed files with 3 additions and 0 deletions
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue