From: Cameron Moore Date: Mon, 12 Dec 2016 02:29:07 +0000 (-0600) Subject: docs: Update GitInfo usage docs X-Git-Tag: v0.18~13 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d332aa16;p=brevno-suite%2Fhugo docs: Update GitInfo usage docs --- diff --git a/docs/content/extras/gitinfo.md b/docs/content/extras/gitinfo.md index 1c456482..d29641bc 100644 --- a/docs/content/extras/gitinfo.md +++ b/docs/content/extras/gitinfo.md @@ -18,6 +18,8 @@ Hugo provides a way to integrate Git data into your site. 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 diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md index 12a0f679..75005a30 100644 --- a/docs/content/overview/configuration.md +++ b/docs/content/overview/configuration.md @@ -124,6 +124,8 @@ along with their current, default values: 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