{% for title, url in items %} {% if not forloop.last %} {% if brand %}
  • {{ title }} {{ sep|safe }}
  • {% else %}
  • {{ title }} {{ sep|safe }}
  • {% endif %} {% else %}
  • {{ title }}
  • {% endif %} {% endfor %}