Repository navigation
feat: default og:image so Slack link previews aren't blank - #319
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHXkV558B45TtM6nkdMd6P
Docusaurus emits twitter:card=summary_large_image on every page but we set no image, so Slack and other unfurlers showed an empty image placeholder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHXkV558B45TtM6nkdMd6P
calthejuggler
requested review from
bmsilva and
marcio-absmartly
as code owners
December 1, 2026 10:38
Contributor
✅ Deploy Preview for absmartly-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHXkV558B45TtM6nkdMd6P
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHXkV558B45TtM6nkdMd6P
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.
Summary
Docusaurus adds
twitter:card=summary_large_imageto every page, but we never provided an image. Slack therefore reserved space for one and showed a grey placeholder. This PR adds a site-wide default image, and any doc can override it from its front matter.Evidence
ownership-and-permissionspage has a title and description, but no image:yarn buildsucceeds. Every one of the 414 built HTML pages has exactly oneog:image, including the home page, normal docs, both API references and the 404 page:image: /img/logo.pngin its front matter gotog:image=https://docs.absmartly.com/img/logo.pnginstead. I tested this with a temporary edit and reverted it.Merge Danger
Door: two-way
Reverting the config line removes the image. Slack caches previews, so links shared already keep their old card for a while.
Blast Radius: previews
Only page
<head>tags change. The image URL is always the production one, so deploy-preview links won't show the image until this reaches production.🤖 Generated with Claude Code
https://claude.ai/code/session_01JHXkV558B45TtM6nkdMd6P
Summary by CodeRabbit