hugo/docs/layouts/partials
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
..
analytics.html More doc site improvements. Added documentation's new layout 2014-05-28 01:37:33 -04:00
footer.html Add GitInfo 2016-11-01 23:04:12 +01:00
header.html docs: Improve home page 2016-10-01 22:19:22 -04:00
menu.html Update Hugo docs with the initialisms suggested by golint 2015-03-18 11:30:37 +01:00
quotes.html docs: Use data folder for website carousel 2016-04-07 22:50:38 +02:00
search.html docs: Move Algolia styling into style.css 2016-04-22 18:18:50 +02:00