Skip to content

feat: add sitemap generation with lastmod support#2

Merged
mroderick merged 2 commits intomainfrom
feature/sitemap-generation
Apr 3, 2026
Merged

feat: add sitemap generation with lastmod support#2
mroderick merged 2 commits intomainfrom
feature/sitemap-generation

Conversation

@mroderick
Copy link
Copy Markdown
Contributor

Summary

  • Enable sitemap generation for VitePress site with hostname https://idempot.dev/
  • Enable lastUpdated feature to track page modification times for <lastmod> tags in sitemap.xml

Changes

  • Added sitemap.hostname configuration to VitePress config
  • Added lastUpdated: true to themeConfig for SEO benefit

Testing

Build verified successful with sitemap generation:

✓ generating sitemap...
build complete in 1.91s.

Generated sitemap includes all pages with correct <loc> and <lastmod> tags.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 3, 2026

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: e44bb04
Status: ✅  Deploy successful!
Preview URL: https://90ccd4c7.website-33l.pages.dev
Branch Preview URL: https://feature-sitemap-generation.website-33l.pages.dev

View logs

@mroderick mroderick merged commit 787665b into main Apr 3, 2026
3 checks 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