Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opengraph metadata #64

Closed
luxedo opened this issue Sep 4, 2021 · 2 comments
Closed

Fix opengraph metadata #64

luxedo opened this issue Sep 4, 2021 · 2 comments

Comments

@luxedo
Copy link

luxedo commented Sep 4, 2021

Currently the previews of the pages is not working:
Screenshot from 2021-09-04 10-35-19

https://www.opengraph.xyz/url/https%3A%2F%2Fwww.r-graph-gallery.com%2F/

even though there is opengraph metadata in index.html

<meta property="og:title" content="The R Graph Gallery &#8211; Help and inspiration for R charts">
<meta property="og:image" content="img/overview_RGG.png">
<meta property="og:description" content="The R graph gallery displays hundreds of charts made with R, always providing the reproducible code.">
<meta property="og:site_name" content="The R Graph Gallery">

It seems that the image is is missing the root slash and www:
Today:
https://r-graph-gallery.comimg/overview_RGG.png
Correct
https://www.r-graph-gallery.com/img/overview_RGG.png

@luxedo
Copy link
Author

luxedo commented Sep 7, 2021

I 've sent a PR trying to fix it but I don't think I can test it

#65

@holtzy
Copy link
Owner

holtzy commented Apr 4, 2024

Thanks, I fixed it on my side!

@holtzy holtzy closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants