Skip to content

Commit

Permalink
enable and use git info for lastmod time
Browse files Browse the repository at this point in the history
Signed-off-by: Etai Lev Ran <[email protected]>
  • Loading branch information
elevran committed Jun 11, 2024
1 parent edfc275 commit fe15a4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ enableRobotsTXT = true
disableAliases = true

# Will give values to .Lastmod etc.
enableGitInfo = false
enableGitInfo = true

# Comment out to enable taxonomies in Docsy
# disableKinds = ["taxonomy", "taxonomyTerm"]

[frontmatter]
lastmod = ["lastmod", ":git", "date", "publishDate"]

# You can add your own taxonomies
[taxonomies]
tag = "tags"
Expand Down

0 comments on commit fe15a4b

Please sign in to comment.