 present_versions %}
            <option value="{{ url_for(request.endpoint, lang=lang, identifier=identifier, version=other_version) }}"{% if other_version == version %} selected{% endif %}>
              {{ other_version }}
    {% if date %}
              ({{ date }})
    {% endif %}
            </option>
  {% endfor %}
          </optgroup>
  {% if historical_versions %}
          <optgroup label="{{ _('Historical versions') }}">
    {% for other_version, date in historical_versions %}
            <optio