At least 90% of the addresses in a sitemap of ten or more share one lastmod, and it is either a timestamp down to the second or the day the sitemap file itself was written (for a sitemap read over the network, the day it was read). Both mean the build stamps the date, not an edit — and an engine that sees every page “updated” on every deploy stops reading lastmod at all, including on the pages that really changed. The same bare date on every address on some other day can be honest (a site launched in one day), so it is left alone, as are sitemaps with fewer than ten addresses. `check` reads the sitemap from --sitemap, or the sitemap.xml of the build; `doctor` reads --sitemap. A sitemap built by `indexgap sitemap` takes lastmod from the content hash, so it can only trip this on a first run, before any history exists.
The finding reads:
warning lastmod-fake …: … of … addresses share one <lastmod> …, a timestamp down to the second — that is the build time, not an edit. Search engines stop trusting such dates and cannot tell from them what changed
Take lastmod from the date the page was edited (the file's commit, an `updated` front-matter field, or a text hash, which is what `indexgap sitemap` does), not from the build time. If you cannot know the date honestly, leave lastmod out.
This is a site-level finding: it belongs to the site, not to any one page, and is reported once however many pages are audited.
pipx install indexgap
cd your-project
indexgap init
indexgap check
Then indexgap brief turns
every finding on this page into a work order in indexgap-briefs/,
with the thresholds the result has to satisfy and the command to check it.