diff --git a/mainsite/views.py b/mainsite/views.py index c5e4652..07254d4 100644 --- a/mainsite/views.py +++ b/mainsite/views.py @@ -7,7 +7,7 @@ from mainsite.models import Publication, PublicationYear, SiteConfiguration def robots_view(request): """ Robots.txt view """ - body = "User-Agent: *\nDisallow: /\n" + body = "User-Agent: *\nDisallow: /\nAllow: /$\n" return HttpResponse(body, content_type="text/plain")