diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-11-02 13:41:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 13:41:57 +0300 |
commit | 3256a2c2315b0b95d2d02b71f0bda04fc91e70af (patch) | |
tree | 6fa0230594e820f4a81f0dd6207d7021206f6fa6 /site/robots.txt | |
parent | 4b15ec9cad9296821b9f1771034c7c656cc11dc3 (diff) |
robots.txt: disallow crawling when not in production. (#27559)
Diffstat (limited to 'site/robots.txt')
-rw-r--r-- | site/robots.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/robots.txt b/site/robots.txt index aef3fa1f64..d3ac12c646 100644 --- a/site/robots.txt +++ b/site/robots.txt @@ -5,5 +5,5 @@ # Allow crawling of all content User-agent: * -Disallow: +Disallow:{% if jekyll.environment != "production" %} /{% endif %} Sitemap: {{ site.url }}/sitemap.xml |