Skip to content

Commit f6f7e33

Browse files
emmanuelbernardhferentschik
authored andcommitted
WEBSITE-179 Add robots.txt that deny indexing unless using the
production profile
1 parent 9c0e5a1 commit f6f7e33

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

robots.txt.haml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
inhibit_indexifier: true
3+
---
4+
User-agent: *
5+
- is_production = site.profile == 'production'
6+
- if is_production
7+
Disallow:
8+
- else
9+
Disallow: /

0 commit comments

Comments
 (0)