← Changelog

Build-Time Share Cards Become the Default OG Technique

Per-page cards rendered in the site at build time are now the first choice for share images; Ideogram and hero screenshots make the site card.

Why Care?

generate-consistent-og-images offered two ways to make a share image: an Ideogram illustration or a screenshot of the site's hero. Both make one image by hand, so in practice every page on a site shared the same card. Two sites shipped a third way today, a card per page drawn from the page's own content at build time. A shared link to one Cathode write-up showed up in iMessage as a clean tall card with that write-up's photo and title. That's now the default.

What's New?

  • Technique C: per-page cards rendered at build time. satori and sharp draw a tall 1080×1440 og:image and a wide 1200×630 twitter:image for every page, event, article and section, from a static endpoint. No runtime and no host-specific API.

  • It's the default for any site with more than a few pages. Ideogram (Technique A) and hero rasterization (Technique B) now make the site card, wired the same way: tall as og:image, wide as twitter:image.

  • The skill's description names all three, so it loads for "per-page share images" requests too.

Under the Hood

The pattern, design rules and the bugs we hit are in the astro-knots blueprint Share-Every-Page-and-Section-With-Its-Own-Image. Reference implementations: astro-knots/sites/cathode-site (dark brand, LFM) and astro-knots/sites/edviro-blog (light brand, Astro MDX).