Changeset f62d769ef9f30a1aa3d51cb70d64ec05c6d6088c

Show
Ignore:
Timestamp:
06/04/10 02:18:26 (3 months ago)
Author:
Jim Garrison <jim@…>
Children:
db5fb504210b8c67cc4c99c27c91aafd4de5aafa
Parents:
18b22f43b623a4efb4eb2109b8b20d12d6aaebc9
git-committer:
Jim Garrison <jim@jimgarrison.org> / 2010-06-03T23:18:26Z-0700
Message:

set URNs to noindex, nofollow

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ductus/templates/ductus_document.html

    r86fe600 rf62d769  
    44{% block head %} 
    55{{ block.super }} 
    6 {# search engines should only index the main page of each document #} 
    7 {% if request.GET %}<meta name="robots" content="noindex"/>{% endif %} 
     6{# search engines should only index the main page of each document. and URN pages should not be indexed. #} 
     7{% if request.GET or not ductus.wiki_page %} 
     8    <meta name="robots" content="noindex,nofollow"/> 
     9{% endif %} 
    810{% endblock %} 
    911