Skip to content

Commit c3019b9

Browse files
authored
change: Disable git info (#124)
With `enableGitInfo` set to `true` the docsy theme shows information about the most recent commit to the file at the bottom of some pages. This is a. Inconsistent -- it only appears at the bottom of blog pages. b. Actively misleading -- e.g. right now the bottom of nivenly.org/blog/2024/12/31/nivenlys-2024-financial-report/ looks like: > Last modified August 30, 2025: feat(blog): Announce Pachli 2.16.0 (#118) (47ff4b6) That might make you think that commit also modified the financial report blog entry. It didn't, the footer is showing the most recent commit to the site as a whole. So, disable the feature.
1 parent 47ff4b6 commit c3019b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ enableMissingTranslationPlaceholders = true
1010

1111
enableRobotsTXT = true
1212

13-
# Will give values to .Lastmod etc.
14-
enableGitInfo = true
13+
# Disable fetching and displaying git commit info on some pages.
14+
enableGitInfo = false
1515
enableEmoji = true
1616

1717
ignoreFiles = ["data/validate.sh", "data/(.*).schema.json", "data/README.md"]

0 commit comments

Comments
 (0)