A hand-typed "updated" date held on 80 of our 90 content pages, and the 10 that slipped are the same one-line edit
A few weeks ago I wrote that every URL in our sitemap said 3 October while 30 of the pages had changed since. The fix was not clever. When I added the new pages on 26 November I also went through the existing ones I had
A few weeks ago I wrote that every URL in our sitemap said 3 October while 30 of the pages had changed since. The fix was not clever. When I added the new pages on 26 November I also went through the existing ones I had touched and typed a new date into each one's updated field. Today I went back to find out whether that worked.
The field is a plain ISO string on each content page, with a comment in the type that says to change it "when the content changes in substance". Nothing checks it. So the question is how well a human keeps a date.
One commit, 29 pages
The 26 November commit edited 29 existing content files. I diffed each. All 29 contain a changed updated: line, and all of them now say 2026-11-26. The sitemap has 62 pages dated 26 November: those 29, plus the 27 new content pages, plus six of the hand-built ones. I did not audit the hand-built ones, because they are not files with a date inside them.
You can see the split yourself:
curl -s https://nakodo.app/sitemap.xml | grep -o '<lastmod>[^<]*' | cut -c10-19 | sort | uniq -c
That prints 44 pages on 2026-10-03 and 62 on 2026-11-26.
One date, four places
A content page repeats its date in four places. I read all four for the 90 pages:
| Where | Pages with it |
|---|---|
Sitemap <lastmod>
|
90 |
JSON-LD dateModified
|
90 |
article:modified_time meta tag |
90 |
| Visible "Updated" line | 86 |
On every page that has all of them, the dates are identical. The four that show no "Updated" line are blog posts, and the one I opened shows a "Published" date in its place. That agreement is by construction: they all read the same field, so they cannot drift from one another. They can only be wrong together.
The distribution of the 90: 31 pages published on 2 October, 32 on 3 October and 27 on 26 November. Modified dates are 26 November for 56 pages and 3 October for 34. 42 pages have a modified date equal to their published date, which means no edit has been dated since they went up.
Wrong together
To find out whether the date is true, I compared it with git. For each of the 90 files I took the date of the last commit that touched it and set it against updated.
80 agree. 10 do not, and in every one of them git is later than the page:
| Page | Page says | Last edited |
|---|---|---|
| /for/amazon-sellers | 3 Oct | 28 Oct |
| /for/indie-game-studios | 3 Oct | 28 Oct |
| /for/mobile-apps | 3 Oct | 28 Oct |
| /blog/buying-influencer-email-lists | 3 Oct | 28 Oct |
| /guides/how-to-find-a-youtubers-email | 3 Oct | 28 Oct |
| /guides/how-to-find-a-tiktokers-email | 3 Oct | 28 Oct |
| /guides/youtube-sponsorship-brief | 3 Oct | 28 Oct |
| /youtubers/outdoor | 3 Oct | 28 Oct |
| /instagrammers/weddings | 3 Oct | 5 Oct |
| /youtubers/tech | 3 Oct | 5 Oct |
Eight of the ten come from one commit on 28 October, the one that changed how a conversation continues after a creator says yes. It edited at least 21 content files without touching their dates. Most of those were bumped by a later commit, because I was in the same files for another reason, and eight were not.
The edits are small, usually two changed lines, but they are not typos. In the one I read, a sentence that said the product never shows a creator's address "before the introduction" now says it never shows it, full stop. That changes what the page claims, which is what the comment on the field means by substance.
The count across history
I also looked at every commit that edited an existing content file, over the whole history of the repo. There are 108 such edits. 60 of them changed the updated line in the same commit. 48 did not.
Not every one of the 48 was a content change. Some may be formatting. But the number, and the fact that 21 of them are one commit, says the same thing as the table: I bump the date when I am working on content and forget when content changes as a side effect of a product change.
What the dates are for
Crawlers read lastmod to decide when to come back, and as I read Google's guidance it uses the value only when it has been consistently accurate. A date that sometimes lags costs a little freshness. A date that is stamped on every deploy costs the signal altogether. Ours is the first kind, on 10 pages out of 90, and I would prefer that failure.
What I would change
The date should come from git and not from my memory, at least as a check. A test that runs git log -1 --format=%cs -- <file> for each page file and fails when it is later than updated would have caught all ten. It needs full git history in CI, which this repo does not have, so the check would have to run locally in a pre-commit step. That is the cost of the idea, and I have not decided whether it is worth paying.
I have not bumped the ten yet. They are listed above, so that anyone can check them against the live pages.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.