hugo/docs/layouts
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
..
_default docs: Refactor /docs to use the block keyword 2016-10-09 11:20:46 +02:00
partials Add GitInfo 2016-11-01 23:04:12 +01:00
section docs: Add guideline for showcase additions 2016-02-13 10:05:08 +08:00
shortcodes docs: Improve Traversing Local Files 2016-09-15 15:15:04 +02:00
showcase Docs: Allow HTML in Showcase titles 2015-12-19 06:15:08 -07:00
404.html docs: Add 404 template 2016-07-14 00:01:06 +02:00
index.html docs: Improve home page 2016-10-01 22:19:22 -04:00