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

Not possible to preview social media images on forked repos #285

Open
mgriffin-scottlogic opened this issue Dec 18, 2024 · 0 comments · May be fixed by #287
Open

Not possible to preview social media images on forked repos #285

mgriffin-scottlogic opened this issue Dec 18, 2024 · 0 comments · May be fixed by #287

Comments

@mgriffin-scottlogic
Copy link
Contributor

When forking this repo to create blog posts, if an image: is specified in the post metadata, the generated preview page will point to the location on blog.scottlogic.com where the image does not exist yet. This results in social media preview tools like https://www.linkedin.com/post-inspector/ falling back on the first image it can find in the page, which is usually the profile picture, which may be another manifestation of #37.

Note: I think this can be resolved by switching the use of site.canonical.url in _layouts/default.html with site.github.url. I'm not sure if there is much use for site.canonical.url in general but there are a few more uses of it in the codebase.

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

Successfully merging a pull request may close this issue.

1 participant