Use frontmatter date for created, git for lastmod

date = [':default'] — set once by archetype on hugo new
lastmod = [':git', ':fileModTime'] — auto-updates from git history
This commit is contained in:
Jean-Michel Tremblay 2026-04-03 16:48:34 -04:00
parent b2727be8ce
commit 45b7bac831

View file

@ -5,7 +5,7 @@ pagination.pagerSize = 5
enableGitInfo = true
[frontmatter]
date = [':filename', ':default']
date = [':default']
lastmod = [':git', ':fileModTime']
[markup.highlight]