Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-11-02 01:04:12 +0300
committerGitHub <noreply@github.com>2016-11-02 01:04:12 +0300
commite8380e612fae18493556d620726a9069a17128db (patch)
treee7aa175227a5748a65b667734bb080a75a43d69e /vendor
parent186db7cd7ad56051d5a064ee5120e6ec73f575a0 (diff)
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
Diffstat (limited to 'vendor')
-rw-r--r--vendor/vendor.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/vendor.json b/vendor/vendor.json
index cc7efc56e..7fdfc7b26 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -21,6 +21,12 @@
"revisionTime": "2016-07-26T15:08:25Z"
},
{
+ "checksumSHA1": "dIidE/pUkqulIvTkuMBTpH3/lnU=",
+ "path": "github.com/bep/gitmap",
+ "revision": "a1a71abe12823e27ae7507189fe2e914ba9626ac",
+ "revisionTime": "2016-10-29T14:53:16Z"
+ },
+ {
"checksumSHA1": "K8wTIgrK5sl+LmQs8CD/orvKsAM=",
"path": "github.com/bep/inflect",
"revision": "b896c45f5af983b1f416bdf3bb89c4f1f0926f69",