docs: Add documentation for disableKinds - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit eb572c8a180a508d53449bd06b98423d88f7d4e2
DIR parent 8d5132229f7b12aef2483d19ed3c7fdc5c2b6a91
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Sun, 26 Feb 2017 21:51:53 +0100
docs: Add documentation for disableKinds
Fixes #3054
Diffstat:
M docs/content/overview/configuratio… | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md
@@ -119,6 +119,8 @@ along with their current, default values:
defaultContentLanguage: "en"
# Renders the default content language in subdir, e.g. /en/. The root directory / will redirect to /en/
defaultContentLanguageInSubdir: false
+ # The below example will disable all page types and will render nothing.
+ disableKinds = ["page", "home", "section", "taxonomy", "taxonomyTerm", "RSS", "sitemap", "robotsTXT", "404"]
disableLiveReload: false
# Do not build RSS files
disableRSS: false