{% for competition in competitions %} {{ competition }} {% if competition.seasons.count %} {% endif %} {% endfor %}