Skip to content

Fix website social metadata#1054

Merged
aaronpowell merged 1 commit intostagedfrom
fix/social-metadata-preview
Mar 17, 2026
Merged

Fix website social metadata#1054
aaronpowell merged 1 commit intostagedfrom
fix/social-metadata-preview

Conversation

@aaronpowell
Copy link
Copy Markdown
Contributor

Summary

  • add a default Starlight site description for pages without one
  • include absolute Open Graph and Twitter image metadata for the existing social preview image
  • mark the homepage as a website page and give it an explicit description

Testing

  • npm run website:build

Add default Starlight description metadata and wire the existing social image into Open Graph and Twitter tags so shared links render a proper preview.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 17, 2026 23:45
@aaronpowell aaronpowell merged commit 0fb9163 into staged Mar 17, 2026
8 checks passed
@aaronpowell aaronpowell deleted the fix/social-metadata-preview branch March 17, 2026 23:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Astro/Starlight website configuration to produce more complete social/share metadata (Open Graph + Twitter), and ensures the homepage and site have an explicit default description to improve link previews across pages.

Changes:

  • Adds an explicit homepage description and sets og:type=website on the homepage.
  • Sets a default Starlight site description for pages that don’t define one.
  • Adds absolute og:image / twitter:image metadata pointing at the existing social preview image.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
website/src/pages/index.astro Adds homepage description and og:type meta via frontmatter head.
website/astro.config.mjs Introduces shared siteDescription + absolute socialImageUrl and injects global OG/Twitter image meta tags via Starlight config.

You can also share your feedback on Copilot code review. Take the survey.

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