hugolib: Add option to disable rendering of 404 page

Fixes #1889
Closes #2037
This commit is contained in:
digitalcraftsman
2016-04-03 00:22:31 +02:00
committed by Bjørn Erik Pedersen
parent 72bda5ad26
commit b7efbdc12f
3 changed files with 13 additions and 1 deletions

View File

@@ -96,7 +96,9 @@ Following is a list of Hugo-defined variables that you can configure and their c
# Do not build Sitemap file
disableSitemap: false
# Build robots.txt file
enableRobotsTXT: false
enableRobotsTXT: false
# Do not render 404 page
disable404: false
# edit new content with this editor, if provided
editor: ""
# Enable Emoji emoticons support for page content.