* ci: Also check generated HTML with the "vnu" validator Because HTML Tidy apparently misses a bunch of errors. * thead -> tbody * More fixes * More fixes * Start checker in test runner
21 lines
985 B
HTML
21 lines
985 B
HTML
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% origin %}
|
|
<label class="my-1 fw-bold">Versions:</label>
|
|
<nav class="mb-3">
|
|
<ul class="pagination pagination-sm">
|
|
{% for rev in revisions %}
|
|
<li class="page-item {% if rev == doc.rev %}{% if snapshot or doc.get_state_slug != 'rfc' %}active{% endif %}{% endif %}">
|
|
<a class="page-link"
|
|
href="{% if snapshot and doc.get_state_slug == 'rfc' %}{% url 'ietf.doc.views_doc.document_main' name=doc.doc.name %}{% else %}{% url 'ietf.doc.views_doc.document_main' name=doc.name %}{% endif %}{% if rev %}{{ rev }}/{% endif %}"
|
|
{% if rev != '00' and rev != latest_rev %}rel="nofollow"{% endif %}>
|
|
{% if rev %}
|
|
{{ rev }}
|
|
{% else %}
|
|
{{ doc.name }}
|
|
{% endif %}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav> |