hugo/docs
Bjørn Erik Pedersen e8380e612f Add GitInfo
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
2016-11-01 23:04:12 +01:00
..
archetypes [Docs] Copyediting 2015-01-28 18:02:40 -07:00
content Revert "docs: Add www.bullion-investor.com to the showcase gallery" 2016-10-31 22:32:53 +01:00
data docs: Add one more quote 2016-04-08 00:06:39 +02:00
layouts Add GitInfo 2016-11-01 23:04:12 +01:00
static Revert "docs: Add www.bullion-investor.com to the showcase gallery" 2016-10-31 22:32:53 +01:00
.gitignore Add ToC to long pages 2015-05-11 18:39:42 +02:00
config.toml Add GitInfo 2016-11-01 23:04:12 +01:00