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:
parent
b2727be8ce
commit
45b7bac831
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ pagination.pagerSize = 5
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
|
|
||||||
[frontmatter]
|
[frontmatter]
|
||||||
date = [':filename', ':default']
|
date = [':default']
|
||||||
lastmod = [':git', ':fileModTime']
|
lastmod = [':git', ':fileModTime']
|
||||||
|
|
||||||
[markup.highlight]
|
[markup.highlight]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue