Skip to content

Commit

Permalink
Update og:image to use the https URL
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed May 26, 2020
1 parent b08d3e3 commit efe7534
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions views/_partials/head/social.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ meta(property='og:title', content!=title)
meta(property='og:type', content='website')
meta(property='og:description', content!=pageDescription)
meta(property='og:url', content=`${siteUrl}${pageUrl}`)
meta(property='og:image', content=`${siteUrl.replace(/^https:/, 'http:')}${getVersionedPath('/assets/img/og.png')}`)
meta(property='og:image:secure_url', content=`${siteUrl}${getVersionedPath('/assets/img/og.png')}`)
meta(property='og:image', content=`${siteUrl}${getVersionedPath('/assets/img/og.png')}`)
meta(property='og:image:type', content='image/png')
meta(property='og:image:width', content='256')
meta(property='og:image:height', content='256')
Expand Down

0 comments on commit efe7534

Please sign in to comment.