From 45b7bac831a6124096164591069dd6cc4cbb81c1 Mon Sep 17 00:00:00 2001 From: Jean-Michel Tremblay Date: Fri, 3 Apr 2026 16:48:34 -0400 Subject: [PATCH] Use frontmatter date for created, git for lastmod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit date = [':default'] — set once by archetype on hugo new lastmod = [':git', ':fileModTime'] — auto-updates from git history --- site/hugo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/hugo.toml b/site/hugo.toml index 0627205..fc3f651 100644 --- a/site/hugo.toml +++ b/site/hugo.toml @@ -5,7 +5,7 @@ pagination.pagerSize = 5 enableGitInfo = true [frontmatter] - date = [':filename', ':default'] + date = [':default'] lastmod = [':git', ':fileModTime'] [markup.highlight]