ref: d332aa16064510e1062dae43ad7744b53c20352c
parent: f8190777f2c0ad01ae7972b00669aeb15e10121b
author: Cameron Moore <moorereason@gmail.com>
date: Sun Dec 11 15:29:07 EST 2016
docs: Update GitInfo usage docs
--- a/docs/content/extras/gitinfo.md
+++ b/docs/content/extras/gitinfo.md
@@ -18,6 +18,8 @@
1. The Hugo site must be in a Git-enabled directory.
1. The Git executable must be installed and in your system `PATH`.
+1. Enable the GitInfo feature in Hugo by using `--enableGitInfo` on the command
+ line or by setting `enableGitInfo` to `true` in your site configuration.
## The GitInfo Object
--- a/docs/content/overview/configuration.md
+++ b/docs/content/overview/configuration.md
@@ -124,6 +124,8 @@
disableRSS: false
# Do not build Sitemap file
disableSitemap: false
+ # Enable GitInfo feature
+ enableGitInfo: false
# Build robots.txt file
enableRobotsTXT: false
# Do not render 404 page
--
⑨