aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/robots.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/robots.txt')
-rw-r--r--vendor/twbs/bootstrap/site/robots.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/twbs/bootstrap/site/robots.txt b/vendor/twbs/bootstrap/site/robots.txt
index d3ac12c64..9097d50da 100644
--- a/vendor/twbs/bootstrap/site/robots.txt
+++ b/vendor/twbs/bootstrap/site/robots.txt
@@ -3,7 +3,9 @@
# www.robotstxt.org/
+{% if jekyll.environment != "netlify" -%}
# Allow crawling of all content
+{%- endif %}
User-agent: *
-Disallow:{% if jekyll.environment != "production" %} /{% endif %}
+Disallow:{% if jekyll.environment == "netlify" %} /{% endif %}
Sitemap: {{ site.url }}/sitemap.xml