Commit graph

16 commits

Author SHA1 Message Date
Bjørn Erik Pedersen
a6d584bfb6 vendor: Update go-toml 2016-11-23 16:05:40 +01:00
Cameron Moore
1156be3b13 vendor: remove afero/sftp deps 2016-11-23 16:04:03 +01:00
Bjørn Erik Pedersen
ce5f41ffb6 vendor: Update deps 2016-11-16 13:28:21 +01:00
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
Bjørn Erik Pedersen
5859c691ec vendor: Update Viper 2016-10-24 21:21:37 +02:00
Bjørn Erik Pedersen
40b1b8f703 Fix case issue Viper vs Blackfriday config
There are still work to be done in the case department, but that will have to be another day.

Fixes #2581
See https://github.com/spf13/viper/issues/261
2016-10-16 19:28:21 +02:00
Bjørn Erik Pedersen
9ee2538e0b vendor: Add external 2016-10-15 16:37:48 +02:00
Bjørn Erik Pedersen
7b0f92db0b vendor: Update Viper
See #2536
2016-10-10 13:41:14 +02:00
Bjørn Erik Pedersen
cf5d2e2753 vendor: Revert latest Viper
See #2536
2016-10-08 19:05:41 +02:00
Bjørn Erik Pedersen
7cdd230e16 vendor: Update dependencies 2016-10-08 15:09:34 +02:00
Steve Francia
8bc390d8de vendor: update viper to latest version 2016-10-07 10:05:27 -04:00
Bjørn Erik Pedersen
0c223d9c7a vendor: Update Viper
See #2495
2016-09-26 17:06:58 +02:00
Bjørn Erik Pedersen
a61b1497c6 vendor: Update cast
See #2495
2016-09-26 10:50:38 +02:00
Bjørn Erik Pedersen
e7ff5c2d6a vendor: Update go-toml
Fixes #2439
2016-09-20 10:35:11 +02:00
Bjørn Erik Pedersen
608b90da8d vendor: Update dependencies 2016-09-19 23:24:36 +02:00
Cameron Moore
6e692f2d11 Add vendoring with govendor 2016-09-19 00:10:10 +02:00