Skip to content

Set og:image meta for seo by default on all pages #1747

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

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

sorentwo
Copy link
Contributor

@sorentwo sorentwo commented Jan 25, 2024

Links to the site don't generate a "social" preview without an og:image or twitter:image tag. This adds a larger variant of the horizontal logo and sets it as the default social image. It may be nice to set per-page social images for blog posts and cases, but I didn't tackle that in this PR.

One unrelated addition here is replacing the pixelated RSS feed png with a scalable svg because it neighbored the new elixir-og-card.jpg.

How to set images is described in "Advanced Usage" in the jekyll-seo reference.

This adds a larger, wide format version of the elixir log as the
og:image and twitter:image seo meta tags for all pages.
@josevalim josevalim merged commit dcd2b62 into elixir-lang:main Jan 25, 2024
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim
Copy link
Member

Unfortunately I had to revert this PR because it broke all blog links. For example, it was linking to https://elixir-lang.org/releases/elixir-v1-16-0-released.html instead of /blog/2023/....

Can you please take a look and resubmit @sorentwo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants