Skip to content

feat(seo): add route-specific WebPage/BreadcrumbList JSON-LD and auto-stamp sitemap - #23

Merged
JohnBendfeldt merged 1 commit into
masterfrom
feat/seo-structured-data-and-assets
Nov 24, 2026
Merged

JohnBendfeldt merged 1 commit into
masterfrom
feat/seo-structured-data-and-assets

Conversation

@JohnBendfeldt

Copy link
Copy Markdown
Owner

Summary

  • Route-Specific Structured Data (scripts/generate-seo-routes.mjs): Enriches all generated static SEO route HTML files with route-specific WebPage and BreadcrumbList JSON-LD entities linked to #website, #course, and https://johnbendfeldt.com/#person.
  • Fresh Sitemap <lastmod> (public/sitemap.xml, scripts/generate-seo-routes.mjs): Bumped public/sitemap.xml to 2026-11-24 and automatically stamps dist/sitemap.xml with the build date on every deploy without dirtying git.
  • Tests (src/__tests__/seoAudit.test.ts): Added unit tests verifying buildRouteJsonLd and OG image size guardrails.

Verification

  • npx tsc --noEmit: clean.
  • npx vitest run src/__tests__/seoAudit.test.ts: 6/6 tests passed.
  • npm run build: clean production build, static SEO routes with validated JSON-LD, and stamped dist/sitemap.xml.

@JohnBendfeldt
JohnBendfeldt merged commit bf3b423 into master Nov 24, 2026
4 checks passed
@JohnBendfeldt
JohnBendfeldt deleted the feat/seo-structured-data-and-assets branch November 24, 2026 17:58
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