summaryrefslogtreecommitdiffstats
path: root/app/views/welcome/robots.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/welcome/robots.text.erb')
-rw-r--r--app/views/welcome/robots.text.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/welcome/robots.text.erb b/app/views/welcome/robots.text.erb
new file mode 100644
index 000000000..10b540935
--- /dev/null
+++ b/app/views/welcome/robots.text.erb
@@ -0,0 +1,10 @@
+User-agent: *
+<% @projects.each do |p| -%>
+Disallow: /projects/<%= p.to_param %>/repository
+Disallow: /projects/<%= p.to_param %>/issues
+Disallow: /projects/<%= p.to_param %>/activity
+<% end -%>
+Disallow: /issues/gantt
+Disallow: /issues/calendar
+Disallow: /activity
+Disallow: /search