mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 14:41:00 +00:00
e8380e612f
This commit adds a `GitInfo` object to `Page` if `EnableGitInfo` is set. It then also sets `Lastmod` for the given `Page` to the author date provided by Git. The Git integrations should be fairly performant, but it adds "some time" to the build, somewhat depending on the Git history size. If you want, you can run without during development and turn it on when deploying to the live server: `hugo --enableGitInfo`. Fixes #2102 |
||
---|---|---|
.. | ||
benchmark.go | ||
check.go | ||
convert.go | ||
env.go | ||
gen.go | ||
genautocomplete.go | ||
gendoc.go | ||
genman.go | ||
hugo.go | ||
hugo_windows.go | ||
import_jekyll.go | ||
import_jekyll_test.go | ||
limit_darwin.go | ||
limit_others.go | ||
list.go | ||
list_config.go | ||
new.go | ||
new_test.go | ||
server.go | ||
server_test.go | ||
undraft.go | ||
undraft_test.go | ||
version.go |