Skip to content

Commit

Permalink
Updates for blog SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan committed Oct 10, 2023
1 parent 55d9de6 commit 09fa461
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions src/components/BlogLayout/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,23 +161,8 @@ export default function BlogDetail() {

return (
<div className="container">
{postData?.seo && (
<>
<SEO
title={postData.seo?.title}
description={postData.seo?.description}
image={postData.seo?.image?.url}
slug={`/blog/${postData.slug}`}
keywords={postData.seo?.keywords}
/>
<PageMetadata
title={postData.seo?.title}
description={postData.seo?.description}
image={postData.seo?.image?.url}
keywords={postData.seo?.keywords}
/>
</>
)}
<SEO title={postData.title} description={postData.excerpt} image={postData.coverImage?.url} slug={`/blog/${postData.slug}`} />
<PageMetadata title={postData.seo?.title} description={postData.seo?.description} image={postData.seo?.image?.url} />
<div className="margin-vert--lg padding-vert--lg">
<div className="row">
<div className="col col--10 col--offset-1">
Expand Down

1 comment on commit 09fa461

@vercel
Copy link

@vercel vercel bot commented on 09fa461 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web3auth-docs – ./

web3auth-docs-git-master-web3auth.vercel.app
web3auth-docs-web3auth.vercel.app
w3a-docs.vercel.app

Please sign in to comment.