Conversation
Link embeds in Discord and elsewhere used the stock Material card: a black background with goldenrod text, at 1200x630. Three problems. The colors were not Apollo's. The card was painted with the page title and description, which the embed already prints as text right above it, so every unfurl showed the same words twice. And summary_large_image made each link eat a full-width banner in the channel. Add a custom layout at layouts/apollo.yml. It is 630x630, uses the theme's own #4379AA primary with white text and a #9ABC31 accent rule, and carries only the logo and site name so the embed text is not repeated. The logo's own square is #4379AB, so its edge disappears into the background and only the white A and green dot read. The layout emits twitter:card: summary instead of summary_large_image. Discord, Slack and X read that tag and render a small square thumbnail beside the title and description rather than a banner, which is roughly a quarter of the vertical space. Custom card layouts are available in the community edition of mkdocs-material as of the version pinned here, so this needs no Insiders access. Note that Discord caches unfurls per URL, so links already posted will keep showing the old card until that expires. Verified by rendering the layout through the social plugin and checking both the PNG and the emitted meta tags. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Publishes the social card rebrand from #1088 to the live wiki.
🤖 Generated with Claude Code