Skip to content

feat: add SEO meta tags and social preview image to workshop docs site - #2324

Merged
pelikhan merged 1 commit into
mainfrom
copilot/configure-html-meta-seo-tags
Jul 29, 2026
Merged

feat: add SEO meta tags and social preview image to workshop docs site#2324
pelikhan merged 1 commit into
mainfrom
copilot/configure-html-meta-seo-tags

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

The workshop's published GitHub Pages site had no <meta> SEO tags and no social preview image, so link unfurls on Twitter/X, Slack, LinkedIn, etc. showed a blank card.

Changes

scripts/static/og-image.png (new)

  • 1200×630 PNG generated from the workshop hero image (00-welcome-monas-agent-factory.png), composited over the branded purple gradient background to match the workshop's parallax theme.

scripts/lib/page-template.js

  • <meta name="description"> — search engine snippet
  • Open Graph block: og:type, og:url, og:title, og:description, og:image (with explicit width, height, alt)
  • Twitter/X Card: twitter:card: summary_large_image + matching title/description/image
  • <link rel="canonical"> → GitHub Pages URL

scripts/build-docs.js

  • Copies og-image.png from scripts/static/ into dist/ alongside the other static assets.

…site

- Generate og-image.png (1200x630) from workshop hero image with branded purple gradient background
- Copy og-image.png to dist/ in build-docs.js
- Add Open Graph, Twitter Card, description, and canonical link tags in page-template.js

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan July 29, 2026 10:55
@pelikhan
pelikhan marked this pull request as ready for review July 29, 2026 11:41
@pelikhan
pelikhan merged commit 2d0613f into main Jul 29, 2026
@pelikhan
pelikhan deleted the copilot/configure-html-meta-seo-tags branch July 29, 2026 11:41
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