Prevent site indexing for preview builds

This commit is contained in:
David A. Harding 2015-09-04 13:08:00 -04:00
parent adef074df5
commit b035a0a619
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
3 changed files with 35 additions and 0 deletions

View file

@ -1 +1,12 @@
---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
layout: null
---
{% if site.env.BITCOINORG_BUILD_TYPE == 'preview' %}
User-agent: *
Disallow: /
{% else %}
Sitemap: https://bitcoin.org/sitemap.xml
{% endif %}