From 453f866a3c49fafbbc3d7430bc3a8e8abf7461c2 Mon Sep 17 00:00:00 2001 From: wompmacho Date: Wed, 1 Apr 2026 06:41:41 +0000 Subject: [PATCH] glastmod priority change --- config/_default/hugo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 0f0d79c..5430c3d 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -11,6 +11,7 @@ summaryLength = 5 buildDrafts = true buildFuture = true enableEmoji = true +enableGitInfo = true [taxonomies] tag = "tags" @@ -27,9 +28,8 @@ enableEmoji = true home = ["HTML", "RSS", "JSON"] [frontmatter] - lastmod = [":git", ":filemod", "default"] - -enableGitInfo = true + # Order of priority for the .Lastmod date + lastmod = [":git", ":fileModTime", "lastmod", "date", "publishDate"] [markup.tableOfContents] endLevel = 3