Skip to content

Commit

Permalink
fix: seo social image previews bug
Browse files Browse the repository at this point in the history
  • Loading branch information
okikio authored Sep 17, 2021
1 parent 4eea0ab commit ed82939
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pug/components/seo.pug
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ mixin seo(page)

meta(name="contact" content="hey@okikio.dev")

meta(property='image' content='/favicon/android-chrome-512x512.png')
meta(property='og:image' content='/favicon/android-chrome-512x512.png')
meta(property='image' content=`${websiteURL}/favicon/android-chrome-512x512.png`)
meta(property='og:image' content=`${websiteURL}/favicon/android-chrome-512x512.png`)

meta(name="twitter:image" content=`/favicon/android-chrome-512x512.png`)
meta(name="twitter:image" content=`${websiteURL}/favicon/android-chrome-512x512.png`)
meta(property="twitter:image:alt" content="An image of bundle's logo.")

meta(name='twitter:url' content=`${websiteURL}${url}`)
Expand Down

0 comments on commit ed82939

Please sign in to comment.