Skip to content

Commit 121d1ae

Browse files
switch to hugo.toml config file
1 parent 3fc7e7a commit 121d1ae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

config.toml renamed to hugo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ theme = "hugo-docs"
44

55
disableKinds = ["taxonomy"]
66
ignoreErrors = ["error-disable-taxonomy"]
7+
# Enable Git info for lastmod dates
8+
enableGitInfo = true
9+
10+
[frontmatter]
11+
lastmod = [":git", "lastmod", "date", "publishDate"]
12+
13+
[sitemap]
14+
changefreq = "weekly"
15+
priority = 0.5
16+
filename = "sitemap.xml"
717

818
[markup.goldmark.renderer]
919
unsafe = true

0 commit comments

Comments
 (0)