summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/views.py b/public/views.py
index 9b7e4ce9..63dda5ef 100644
--- a/public/views.py
+++ b/public/views.py
@@ -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)