Django

Code

Changeset 1452

Show
Ignore:
Timestamp:
11/27/05 08:07:04 (3 years ago)
Author:
adrian
Message:

Added robots meta tag to views.static.serve to block robots from indexing and archiving the directory-index static view.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/views/static.py

    r1402 r1452  
    5656    <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 
    5757    <meta http-equiv="Content-Language" content="en-us" /> 
     58    <meta name="robots" content="NONE,NOARCHIVE" /> 
    5859    <title>Index of {{ directory }}</title> 
    5960  </head>