{% if versions.split(",")|length > 1 %}
Version: {{ current_version }}
{{ _('Versions') }}
{% for the_version in versions.split(",") %} {% set the_class = "" %} {% if the_version == current_version %} {% set the_class = "rst-current-item" %} {% endif %} {% if the_version == "latest" %}
{{ the_version }}
{% else %}
{{ the_version }}
{% endif %} {% endfor %}
{% endif %}