Skip to content

Commit 8f9d328

Browse files
committed
Added rel='nofollow' to less interesting entries in the document revision list, to limit unecessary crawling.
- Legacy-Id: 9475
1 parent c53b7b0 commit 8f9d328

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/templates/doc/revisions_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<li class="disabled"><a><b>Versions</b></a></li>
33
{% for rev in revisions %}
44
<li {% if rev == doc.rev %}{% if rev == latest_rev %}class="active"{% else %}class="warning"{% endif %}{% endif %}>
5-
<a href="{% url "doc_view" name=doc.name %}{% if not forloop.last %}{{ rev }}/{% endif %}" >{{ rev }}</a>
5+
<a href="{% url "doc_view" name=doc.name %}{% if not forloop.last %}{{ rev }}/{% endif %}" {% if rev != "00" and rev != latest_rev %}rel="nofollow"{% endif %} >{{ rev }}</a>
66
</li>
77
{% endfor %}
88
</ul>

0 commit comments

Comments
 (0)