Skip to content

feat: add default social card image for link previews - #30

Merged
hayarobi merged 1 commit into
mainfrom
feat/og-image
Aug 27, 2026
Merged

feat: add default social card image for link previews#30
hayarobi merged 1 commit into
mainfrom
feat/og-image

Conversation

@nolnol3

@nolnol3 nolnol3 commented Aug 26, 2026

Copy link
Copy Markdown
Member

Shared links had no preview thumbnail — the site was missing og:image. twitter:card was already set to summary_large_image.

Adds a site-wide default social card via themeConfig.image, using the existing logo and brand colors.

  • static/img/og-image.png — 1200×630
  • docusaurus.config.tsthemeConfig.image

Verified with a local build: og:image and twitter:image are emitted as absolute URLs on all pages. Per-page titles and descriptions are unchanged.

🤖 Generated with Claude Code

@nolnol3
nolnol3 requested a review from hayarobi as a code owner August 26, 2026 02:34
The site had no og:image, so shared links rendered without a thumbnail.
twitter:card was already set to summary_large_image.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@hayarobi hayarobi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build of the original commit failed because of a security check. This was not an issue with the PR itself, but rather with the base branch; the build succeeded after rebasing to the latest base branch that resolved the issue.

@hayarobi
hayarobi merged commit b251175 into main Aug 27, 2026
1 check 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.

2 participants