1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Do not create robots.txt by default

Meny people, including me, have a custom robots.txt in static.

Also remove that option from the command line; it doesn't feel
important enough.

Fixes ##2049
This commit is contained in:
Bjørn Erik Pedersen
2016-04-05 22:20:39 +02:00
parent 43b5dfabb5
commit 54750b0780
5 changed files with 8 additions and 9 deletions

View File

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