fix robots rule
This commit is contained in:
parent
369c015097
commit
2c7615b545
|
@ -2,7 +2,10 @@
|
||||||
# by trustie team
|
# by trustie team
|
||||||
#
|
#
|
||||||
User-agent: *
|
User-agent: *
|
||||||
|
Disallow: /projects/*
|
||||||
|
Disallow: /users/*
|
||||||
|
Disallow: /course/*
|
||||||
|
Disallow: /contests/*
|
||||||
<% @projects.each do |p| -%>
|
<% @projects.each do |p| -%>
|
||||||
Disallow: /projects/<%= p.to_param %>/repository
|
Disallow: /projects/<%= p.to_param %>/repository
|
||||||
<% end -%>
|
<% end -%>
|
||||||
Disallow: /admin/
|
|
||||||
|
|
Loading…
Reference in New Issue