Skip to content

feat(seo): add metadata API, sitemap, robots, JSON-LD and slug URLs#74

Merged
adrienlupo merged 3 commits into
mainfrom
feat/seo-metadata-sitemap-slugs
May 21, 2026
Merged

feat(seo): add metadata API, sitemap, robots, JSON-LD and slug URLs#74
adrienlupo merged 3 commits into
mainfrom
feat/seo-metadata-sitemap-slugs

Conversation

@adrienlupo
Copy link
Copy Markdown
Contributor

Migrate from app/head.tsx to the Next.js Metadata API and add the SEO infrastructure the site was missing: canonical URLs, Open Graph/Twitter cards, a sitemap, robots.txt and JSON-LD structured data.

  • Replace app/head.tsx with Metadata exports in layout/pages
  • Add app/sitemap.ts and app/robots.ts
  • Add JsonLd component (Organization, WebSite, BlogPosting), escaping "<" to prevent script-tag breakout from CMS content
  • Switch blog URLs from Notion IDs to human-readable slugs
  • Expose machine-readable dateISO for datePublished and sitemap lastModified
  • Centralize site constants in lib/site.ts
  • Fix site.webmanifest (name, icon paths, theme color)

Migrate from app/head.tsx to the Next.js Metadata API and add the SEO
infrastructure the site was missing: canonical URLs, Open Graph/Twitter
cards, a sitemap, robots.txt and JSON-LD structured data.

- Replace app/head.tsx with Metadata exports in layout/pages
- Add app/sitemap.ts and app/robots.ts
- Add JsonLd component (Organization, WebSite, BlogPosting), escaping
  "<" to prevent script-tag breakout from CMS content
- Switch blog URLs from Notion IDs to human-readable slugs
- Expose machine-readable dateISO for datePublished and sitemap lastModified
- Centralize site constants in lib/site.ts
- Fix site.webmanifest (name, icon paths, theme color)
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview May 21, 2026 3:09pm

Request Review

@adrienlupo adrienlupo merged commit a16c9ed into main May 21, 2026
2 checks passed
@adrienlupo adrienlupo deleted the feat/seo-metadata-sitemap-slugs branch May 21, 2026 15:13
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