mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	Added robots meta tag to views.static.serve to block robots from indexing and archiving the directory-index static view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -55,6 +55,7 @@ DEFAULT_DIRECTORY_INDEX_TEMPLATE = """ | |||||||
|   <head> |   <head> | ||||||
|     <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |     <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | ||||||
|     <meta http-equiv="Content-Language" content="en-us" /> |     <meta http-equiv="Content-Language" content="en-us" /> | ||||||
|  |     <meta name="robots" content="NONE,NOARCHIVE" /> | ||||||
|     <title>Index of {{ directory }}</title> |     <title>Index of {{ directory }}</title> | ||||||
|   </head> |   </head> | ||||||
|   <body> |   <body> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user