{% load static %}
{% for url in urls %}
{% if forloop.counter == 1 %}
{% if first_separator %}
{{first_separator}}
{% else %}
{{separator}}
{% endif %}
{% endif %}
{% if forloop.counter < urls|length and forloop.counter > 1 or forloop.counter == urls|length and forloop.counter != 1 %}
{{separator}}
{% endif %}
{{url.name}}
{% if forloop.counter == urls|length %}
{% if last_separator %}
{{last_separator}}
{% else %}
{{separator}}
{% endif %}
{% endif %}
{% endfor %}