Skip to content

Commit

Permalink
♻️ Update Open Graph image (#527)
Browse files Browse the repository at this point in the history
update open graph img
  • Loading branch information
Aibono1225 authored Sep 5, 2023
1 parent 2a672c9 commit da00197
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/components/head/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,28 @@ const Head = ({
<link rel="canonical" href={canonical} />

<meta
content={imageUrl || `${pathPrefix}/social_thumbnail.png`}
content={
imageUrl ||
`${siteUrl}${pathPrefix}/Open-Graph-images-Website-People.jpg`
}
property="og:image"
/>
<meta content="1024" property="og:image:width" />
<meta content="512" property="og:image:height" />
<meta
content={imageUrl || `${pathPrefix}/social_thumbnail.png`}
content={
imageUrl ||
`${siteUrl}${pathPrefix}/Open-Graph-images-Website-People.jpg`
}
name="twitter:image"
/>
<meta content="1024" name="twitter:image:width" />
<meta content="512" name="twitter:image:height" />
<meta
content={imageUrl || `${pathPrefix}/social_thumbnail.png`}
content={
imageUrl ||
`${siteUrl}${pathPrefix}/Open-Graph-images-Website-People.jpg`
}
property="og:image"
/>
<meta content="1024" property="og:image:width" />
Expand Down
Binary file added static/Open-Graph-images-Website-People.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/social_thumbnail.png
Binary file not shown.

0 comments on commit da00197

Please sign in to comment.