Skip to content

Commit 3256a2c

Browse files
authored
robots.txt: disallow crawling when not in production. (#27559)
1 parent 4b15ec9 commit 3256a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
# Allow crawling of all content
77
User-agent: *
8-
Disallow:
8+
Disallow:{% if jekyll.environment != "production" %} /{% endif %}
99
Sitemap: {{ site.url }}/sitemap.xml

0 commit comments

Comments
 (0)