{% for th in themes %} {% if th == theme %}
    • {% for sub_theme in sub_themes %}
    • {{ sub_theme.title }}
    • {% endfor %}
  • {% else %}
  • {{th.title}}
  • {% endif %} {% endfor %}