Skip to content

Commit

Permalink
setting default ogimage
Browse files Browse the repository at this point in the history
  • Loading branch information
herohoro committed Feb 10, 2022
1 parent b3ec2b4 commit 8fa6d3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/document-head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const DocumentHead = ({
property="og:description"
content={description ? description : SITE_DESCRIPTION}
/>
{urlOgImage ? <meta property="og:image" content={urlOgImage} /> : null}
<meta property="og:image" content={urlOgImage} />
{/* {urlOgImage ? <meta property="og:image" content={urlOgImage} /> : null} */}
<meta
name="twitter:card"
content={
Expand All @@ -38,7 +39,8 @@ const DocumentHead = ({
: 'summary'
}
/>
{urlOgImage ? <meta name="twitter:image" content={urlOgImage} /> : null}
<meta name="twitter:image" content={urlOgImage} />
{/* {urlOgImage ? <meta name="twitter:image" content={urlOgImage} /> : null} */}
<link rel="canonical" href={currentURL.toString()} />
</Head>
)
Expand Down

1 comment on commit 8fa6d3e

@vercel
Copy link

@vercel vercel bot commented on 8fa6d3e Feb 10, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.