Skip to content

Add OpenGraph metadata for better link-preview thumbnails - #213

Merged
digitaldiina merged 1 commit into
mainfrom
171-seo-metadata
Aug 11, 2026
Merged

Add OpenGraph metadata for better link-preview thumbnails#213
digitaldiina merged 1 commit into
mainfrom
171-seo-metadata

Conversation

@digitaldiina

Copy link
Copy Markdown
Contributor

Closes #171.

Summary

  • Confirmed (via the live preview deployment) that Mintlify already auto-generates per-page og:title/og:description/og:image/twitter:* tags from each page's own frontmatter title/description — no config needed, and not literally "no OpenGraph metadata at all" as the issue described. The real gap was the plain default background (flat brand-color gradient, no illustration).
  • Adds seo.thumbnails.background (images/og-background.png) — the Hugo mascot on a brand-color gradient, positioned bottom-right so it stays clear of the dynamic title/description text, which Mintlify always renders top-left.
  • New contribute/seo.mdx: documents the automatic per-page behavior, the new custom background, the existing seo.metatags.canonical setting, and stub sections for structured-data/organization and indexing controls — left for future issues to expand, per direct instruction.
  • Documents the new images/ folder (site-wide docs.json-referenced assets, distinct from per-topic media/ and the fixed-filename logo/) in contribute/files-and-folders.md.
  • Nav: inserted contribute/seo into the Contribute tab, right after configure-mintlify.

Verification

Check Result
markdownlint-cli2 contribute/seo.mdx contribute/files-and-folders.md 0 new issues (5 pre-existing MD044 false positives on unrelated lines, confirmed via baseline diff)
tools/verify-nav-paths.py config/nav-contribute.json Same pre-existing 2 false positives (Overview/map), no new ones
docs.json / config/nav-contribute.json JSON validity Parses cleanly
Rendered og:image Not re-checked against the live preview yet — this branch's own PR preview deployment will be the first real render of the new background, same dogfooding approach used for #80/#205

🤖 Generated with Claude Code

Mintlify already auto-generates per-page og:title/og:description/
og:image/twitter:* from each page's own frontmatter title/description
- confirmed live on the preview deployment. The actual gap was the
plain default background with no illustration, so this adds a custom
seo.thumbnails.background (Hugo mascot on a brand-color gradient,
positioned bottom-right to stay clear of the dynamic text) and a new
contribute/seo.mdx documenting today's setup plus stubs for
structured-data/indexing config that future issues can expand.

Also documents the new images/ folder in files-and-folders.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
superofficeas 🟢 Ready View Preview Aug 11, 2026, 9:02 AM

@digitaldiina digitaldiina added the mintlify/search Search behavior on new platform label Aug 11, 2026
@digitaldiina digitaldiina added this to the Post-launch improvements milestone Aug 11, 2026
@digitaldiina
digitaldiina merged commit 6eb02a4 into main Aug 11, 2026
4 checks passed
@digitaldiina
digitaldiina deleted the 171-seo-metadata branch August 11, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mintlify/search Search behavior on new platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add OpenGraph metadata for better link-preview thumbnails

1 participant