{% extends 'base.html' %}

{% block part0 %}
    {{ Body }}
{% endblock part0 %}

{% block part1 %}
    {% for e in NavElement.ColMap.doccoll %}
        {% with e.FilenameMatch.lowdash|count + 1 as h %}
            <h{{ h }}>
             {{ e.FilenameMatch.title }}
            {% if e.Data.Version %}
                <span class="versionBadge">{{ e.Data.Version }}</span>
            {% endif %}
            </h{{ h }}>
        {% endwith %}
        {{ e.Body }}
    {% endfor %}
{% endblock part1 %}
