From 54750b078059734c3f2047ae3f56cac64a9f0666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 5 Apr 2016 22:20:39 +0200 Subject: 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 --- hugolib/robotstxt_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'hugolib/robotstxt_test.go') diff --git a/hugolib/robotstxt_test.go b/hugolib/robotstxt_test.go index b0a843a7e..b88d2243b 100644 --- a/hugolib/robotstxt_test.go +++ b/hugolib/robotstxt_test.go @@ -36,6 +36,7 @@ func TestRobotsTXTOutput(t *testing.T) { hugofs.InitMemFs() viper.Set("baseurl", "http://auth/bub/") + viper.Set("enableRobotsTXT", true) s := &Site{ Source: &source.InMemorySource{ByteSource: WEIGHTED_SOURCES}, -- cgit v1.2.3