Skip to content

feat: add SEO metadata to the brand site#4

Merged
claymcleod merged 3 commits into
mainfrom
seo
Jun 28, 2026
Merged

feat: add SEO metadata to the brand site#4
claymcleod merged 3 commits into
mainfrom
seo

Conversation

@claymcleod

Copy link
Copy Markdown
Contributor

The brand-guidelines page shipped with a bare <head>, so search engines and social platforms had nothing to index or render in link previews.

This adds the full set of static SEO signals to site/index.html: a meta description, canonical link, indexable robots directive, Open Graph and Twitter card tags, and Organization JSON-LD. Because the site is a single client-rendered page, all of it lives in the static HTML rather than a runtime head manager.

It also adds a generated 1200×630 social share card (og:image) built once by scripts/generate-og-image.mjs and committed as a static asset, plus sitemap.xml and robots.txt. A Vitest spec guards the head tags and crawl files against regression.

One caveat worth knowing: this deploys as a GitHub Pages project page at openwdl.github.io/brand/, where crawlers only honor robots.txt at the host root, not under /brand/. So the <meta name="robots"> tag is what actually governs crawling today; the robots.txt is included for completeness and becomes authoritative if the site ever moves to a custom-domain root.

@claymcleod claymcleod merged commit 3cf7543 into main Jun 28, 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.

1 participant