Skip to content

Document social sharing meta tag fallback behavior#5296

Merged
ethanpalm merged 2 commits intomainfrom
mintlify/page-metadata-overrides-1775860213
Apr 13, 2026
Merged

Document social sharing meta tag fallback behavior#5296
ethanpalm merged 2 commits intomainfrom
mintlify/page-metadata-overrides-1775860213

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Apr 10, 2026

Summary

  • Documents the fallback chain for Twitter/Open Graph meta tags: twitter:title falls back to og:title then title, and twitter:description falls back to og:description then description
  • Adds explanation that Twitter tags automatically inherit from Open Graph equivalents
  • Updates the code example to show og:description and twitter:title overrides

Triggered by a feature that added proper support for page-level og:description, twitter:title, and twitter:description frontmatter overrides in social sharing metadata.


Note

Low Risk
Low risk: documentation-only changes that clarify meta tag fallback chains and update examples, with no runtime behavior modifications.

Overview
Clarifies how social sharing metadata is derived by documenting the fallback chains for og:* and twitter:* tags (including Twitter inheriting from Open Graph when unset).

Updates the page-level frontmatter section with an explicit tip about inheritance and refreshes the example to include og:description and optional Twitter-specific overrides.

Reviewed by Cursor Bugbot for commit a5fbe51. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Apr 10, 2026

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

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 10, 2026, 10:34 PM

@mintlify-development
Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 10, 2026, 10:31 PM

@ethanpalm ethanpalm merged commit ec929e1 into main Apr 13, 2026
5 checks passed
@ethanpalm ethanpalm deleted the mintlify/page-metadata-overrides-1775860213 branch April 13, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant