Hugo Lastmod Date
[frontmatter]
date = ["date", "publishDate", "lastmod"]
lastmod = ["lastmod", ":git", "date", "publishDate"]
publishDate = ["publishDate", "date"]
expiryDate = ["expiryDate"]
source: Last Modified Date in Hugo | Mert Bakır (mertbakir.gitlab.io)
.Site.LastChange should show the most recent non-zero .LastMod
. If this isn’t the case, it’s a bug and I will fix it.
.Site.LastChange
shows the last modification of pages
.Site.Home.Lastmod
seems to give the date of the commit that last touched files immediately in content/
, excluding subdirs (is this how it is supposed to work, by the way?)