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