Skip to content

Sync dev to main: link embed metadata - #1091

Merged
bharvey88 merged 2 commits into
mainfrom
dev
Aug 22, 2026
Merged

Sync dev to main: link embed metadata#1091
bharvey88 merged 2 commits into
mainfrom
dev

Conversation

@bharvey88

Copy link
Copy Markdown
Contributor

Publishes #1090 to the live wiki.

🤖 Generated with Claude Code

Three gaps left over from the social card work, all visible whenever
someone posts a wiki link in Discord.

97 pages carried no description at all. They have no `description` in
their front matter, and `site_description` was never set, so the fallback
resolved to nothing and the embed printed a bare title. That was
survivable when the card was a full-width banner with its own text. Now
that the image is a small generic mark, the description carries the page,
so add a site-wide sentence for those pages to fall back to.

Add `og:site_name`, so the small provider line above the title reads
"Apollo Docs" instead of the raw wiki.apolloautomation.com. With that in
place the " - Apollo Docs" suffix on every title repeats the line directly
above it, so drop the suffix and give the title the full width before it
truncates. The homepage still resolves to "Apollo Docs" once.

Add a `theme-color` tag, which Discord uses to tint the stripe down the
left edge of an embed and which Android uses to tint browser chrome. The
stripe is drawn on every embed regardless; without this tag it is
Discord's default grey. Material emits no such tag here because the
palette uses a custom primary rather than a named color. It has to be
`name=` rather than `property=`, so it cannot come from the card layout,
which hardcodes `property=` for everything. It goes in overrides/main.html
instead. Material's stock main.html is a bare `{% extends "base.html" %}`,
so overriding it drops nothing.

Verified by building all three page shapes and reading the emitted tags: a
page with its own description keeps it, a page without one picks up the
new fallback, and the homepage title does not double or empty out.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • beta

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d85ae228-00e5-4ffc-be98-7ab20557b843

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bharvey88
bharvey88 merged commit 2d6651a into main Aug 22, 2026
2 checks passed
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