You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
og:image meta tag is used to generate cards for social media (twitter/facebook/...). Currently, it is generated by the jekyll-seo-tag plugin based on post:image.
The problem is jekyll-seo-tag expects the image path to be full, while Lagrange expects it relative to assets/img.
I had the same issue on my website. As a workaround, I removed the assets/img/ part from the image elements in _layouts/post.html and _layouts/home.html. And for all posts, I've added assets/img/ in front of the image path. This fixed the preview cards in social media for me.
og:image
meta tag is used to generate cards for social media (twitter/facebook/...). Currently, it is generated by thejekyll-seo-tag
plugin based onpost:image
.The problem is
jekyll-seo-tag
expects the image path to be full, whileLagrange
expects it relative toassets/img
.In the example page, there is an
og:image
tag:which contains an incorrect path. So if you share a link to this page on Twitter, the image is not shown.
The text was updated successfully, but these errors were encountered: