Open Graph image alt
# Mastodon creator tag for your blog posts
The linked blog post was created using Hugo and the new.css theme https://codeberg.org/janikvonrotz/hugo-new-css-theme that I am developing. When sharing posts on Mastodon, you get a nice preview for links. This is possible by adding OpenGraph meta tags https://web.dev/learn/html/metadata#open_graph to the html document. In Mastodon you also have the creator tag.
Read more: https://janikvonrotz.ch/2026/04/16/mastodon-creator-tag-for-your-blog-posts/
Finally at a point where I could migrate my own site and dogfood https://indiepub.dev
Step 2: fix the automated #opengraph image generator 😅
RE: https://metroholografix.ca/@slugmilk/116394296240189312
Seems like #mastodon is suddenly really picky about generating link previews for one of my websites.
I (believe I) have all the correct #OpenGraph tags available and have appropriate access control headers in place... not sure what I'm missing.
→ Could Open Graph Just Be a CSS Media Type?
https://scottjehl.com//posts/open-graph/
“These social preview images are a nice thing for a website to have. But the workflow for adding them to a site is, in my experience, not nice.”
“To me, it seems like the social preview for a given URL should ideally just be another CSS layout of that page, merely formatted for a particular media type: an opengraph preview media type.”
So it turns out my site's previews have been borked for who knows how long due to me not understanding that #OpenGraph 's `og:url` is meant to be a unique ID, not just something you can set to your site's base URL and be done with it.
Because of that articles have had completely unrelated previews and that's not very potential-reader friendly.
Annoying to learn, but better late than never...
👍 Inserire manualmente i meta tag Open Graph (OG) in WordPress senza plugin
Aggiungere manualmente la generazione dei meta tag OpenGraph su Wordpress con una semplice funzione...