Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 313 Bytes

2020-12-19_gitinfo-settings.md

File metadata and controls

14 lines (10 loc) · 313 Bytes

GitInfo settings

Hugo has some internal tooling to pull some info from git, such as the lastmod date for a file:

https://gohugo.io/variables/git/

It turns out it was set in my netlify conf:

[context.production.environment]
HUGO_VERSION = "0.70.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"