Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/robots.txt')
-rw-r--r--site/layouts/robots.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/site/layouts/robots.txt b/site/layouts/robots.txt
index 271b4f1b7b..79dddec829 100644
--- a/site/layouts/robots.txt
+++ b/site/layouts/robots.txt
@@ -1,8 +1,6 @@
# www.robotstxt.org
-{{- $isProduction := eq hugo.Environment "production" -}}
-{{- $isNetlify := eq (getenv "NETLIFY") "true" -}}
-{{- $allowCrawling := and (not $isNetlify) $isProduction -}}
+{{- $allowCrawling := false -}}
{{ if $allowCrawling }}
# Allow crawling of all content