Skip to content

docs(site): every link preview points at a social card that does not exist #422

Open

Description

@IanoNjuguna

What is wrong

Every page on devex.intersectmbo.org ships an og:image and a twitter:image that point at a file the site does not contain:

<meta property="og:image" content="https://devex.intersectmbo.org/img/docusaurus-social-card.jpg">
<meta name="twitter:card" content="summary_large_image">
$ curl -o /dev/null -s -w '%{http_code}' https://devex.intersectmbo.org/img/docusaurus-social-card.jpg
404
$ ls website/static/img
DA-icon.png  devex-hero.webp  devex-logo-lockup-ink.png  devex-logo-lockup.png
favicon.ico  favicon.png  intersect-logo.png  IntersectMBO.svg  logo.svg
OSC-con.png  OSO-image_modified.PNG

The config still names the file Docusaurus ships by default (themeConfig.image, website/docusaurus.config.ts), and that default was never added to static/img. So the tag is honest about wanting a large card and the URL behind it is a 404.

Why it matters

It is the first thing anyone sees when a link to the site is shared in Slack, X, Discord or a chat, and it is currently broken for every page: the tutorial pages, the session notes, the guides, the landing page. summary_large_image is declared, which means readers get the large-card layout with no image in it rather than a clean small card.

The fix

Render the hero the site already has as the card, rather than invent a new one: the illustration, the headline and the standfirst on Caramel Delight, cropped to the 1.91:1 that summary_large_image wants, at 1200×630, and point themeConfig.image at it.

Per-page cards can come later through frontmatter image: where a page deserves its own title in the card.

Acceptance

  • website/static/img/social-card.png exists and is 1200×630
  • themeConfig.image points at it
  • the built page emits og:image and twitter:image that resolve to a file present in build/img/
  • no page is left pointing at docusaurus-social-card.jpg

Activity

  1. added
    bug
    documentation
    on Nov 22, 2026
  2. self-assigned this
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdocumentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions