Commit 131e70b2 authored by eliott's avatar eliott
Browse files

added robots.txt

parent f8b4c01d
......@@ -52,5 +52,8 @@ def press(request):
def projects(request):
return render_template('public/projects.html', request)
def robots(request):
return HttpResponse("User-agent: *\nDisallow: /\n", mimetype="text/plain")
def denied(request):
return render_template('public/denied.html', request)
......@@ -61,6 +61,7 @@
(r'^moreforums/$', 'archweb_dev.public.views.moreforums'),
(r'^press/$', ''),
(r'^projects/$', 'archweb_dev.public.views.projects'),
(r'^robots.txt$', 'archweb_dev.public.views.robots'),
# Authentication / Admin
(r'^denied/$', 'archweb_dev.public.views.denied'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment