Why Hugo Shows the Wrong Last Modified Date on Cloudflare Pages
Fixing GitInfo issues on Cloudflare Pages
On a blog site built with Hugo, I was stuck for a while on a problem where the “Last modified” date of each post was not displayed correctly.
Every post ended up with the same date, and the actual update date of each post was not reflected.
In this article I explain the cause of the problem and how to solve it.
My environment uses Github and Cloudflare Pages.
Symptoms The “Last modified” date shown in the post metadata was the same date on every post.
For example, it was displayed like this:
[Read More]