{% load i18n %}
    {% if season %}
    <li class="nav-item">
        <a class="nav-link" href="{% url 'dr27-season-driver' season.competition.slug season.year %}">{%  trans 'Drivers' %}</a>
    </li>
    <li class="nav-item">
        <a>>></a>
    </li>
    <li class="nav-item">
        <a class="nav-link" href="{% url 'dr27-season-driver-record-index' season.competition.slug season.year %}">{%  trans 'Records' %}</a>
    </li>

    <li class="nav-item">
        <a class="nav-link" href="{% url 'dr27-season-driver-olympic' season.competition.slug season.year %}">{%  trans 'Olympic' %}</a>
    </li>

    {% else %}
            <li class="nav-item">
        <a class="nav-link" href="{% url 'dr27-competition-driver' competition.slug %}">{%  trans 'Drivers' %}</a>
    </li>

    <li class="nav-item">
        <a class="nav-link" href="{% url 'dr27-competition-driver-record-index' competition.slug %}">{%  trans 'Records' %}</a>
    </li>
    {% endif %}