-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs-infra] OG images are not descriptive #32036
Comments
I guess @alexfauquette could help out with this one! He was already playing with automatically generated banners for new X releases — guess that tackling this would be a natural next step?! |
What I did is not complete automation. It's more like an interface, where you put the text/emoticones, and you get the card in png https://github.com/mui/card-generator I assume we need a template for
Even if the current solution is not automatic, I believe that if getting the card is straightforward (run this command and enter your title) it will be an improvement |
That is excellent @alexfauquette! I guess we would also need to be able to insert these into each page, probably as front matter? |
In the case of the social card for docs pages, custom images could be explored alongside https://www.notion.so/mui-org/SEO-SERP-Image-75bc177fefe64c0b899a42a6f919a907. |
Fixed, except for branding pages https://www.opengraph.xyz/url/https%3A%2F%2Fmui.com%2Fmaterial-ui%2Freact-autocomplete%2F @samuelsycamore I propose to close this issue, and start a new one listing the branding pages for which we would like a custom OG card by priority order |
Woohoo! I think it's okay to have custom-designed OG cards for the marketing pages. It's better to have more flexibility there—not sure we need to automatize that. Thus, it seems like we can definitely cross this one off :) |
Summary 💡
When sharing links from MUI's blog or docs, the OG card is a very generic image used across all pages.
This doesn't give the reader much information about what's inside, and doesn't offer a good reason to click through.
Is there a (not too cumbersome) way to auto-generate these OG images for individual pages? I've seen it done before but have not looked into what it would take to implement on a site like mui.com.
It doesn't need to be complicated—it could just pull the title and description text from the page. For blog posts, it could add the author's name and maybe their avatar as well, and/or tags if those would be useful.
Examples 🌈
Motivation 🔦
I believe this would significantly improve our click-through rate on links shared on social media. It would also just make our site and docs look more professional—the current version feels like the OG image is just a kind of "placeholder."
The text was updated successfully, but these errors were encountered: