rosa-build/app/views/sitemap/robots.erb

22 lines
495 B
Plaintext

# robots.txt for <%= root_url %>
User-agent: *
Disallow: /*/*/tree/*
Disallow: /*/*/blob/*
Disallow: /*/*/wiki/*/*
Disallow: /*/*/issues?*
Disallow: /*/*/commits/*
Disallow: /*/blame/
Disallow: /*/raw/
Disallow: /*.git
Disallow: /*.git/
Disallow: /search
Disallow: /users/sign_up
Disallow: /users/sign_in
Disallow: /users/password/new
Disallow: /users/register_requests/new
Disallow: /invite.html
Disallow: /thanks.html
Allow: /
Host: <%= root_url.gsub(/\/$/, '') %>
Sitemap: <%= sitemap_url %>