{{ self.title }}

{% for person_page in self.candidate_list %} {% if forloop.counter <= self.candidate_list_big_count %} {% include "shared/full_candidate_snippet.html" %} {% endif %} {% endfor %}
{% for person_page in self.candidate_list %} {# Záměrně neomezuju list přes indexy, ale ifuju, abych si držel counter pro snippet #} {% if forloop.counter > self.candidate_list_big_count and forloop.counter <= self.candidate_list_shown_count %} {% include "shared/compact_candidate_snippet.html" %} {% endif %} {% endfor %}