{% for block in self.candidate_list %}
{% if forloop.counter <= self.candidate_list_big_count %}
{% if block.block_type == 'person_page' %}
{% include "shared/full_candidate_snippet.html" with person_page=block.value %}
{% endif %}
{% if block.block_type == 'person_block' %}
{% include "shared/blocks/full_candidate_snippet_block.html" with block=block.value %}
{% endif %}
{% endif %}
{% endfor %}
{% if self.cta_text %}
{% endif %}
{% for block 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 %}
{% if block.block_type == 'person_page' %}
{% include "shared/compact_candidate_snippet.html" with person_page=block.value %}
{% endif %}
{% if block.block_type == 'person_block' %}
{% include "shared/blocks/compact_candidate_snippet_block.html" with block=block.value %}
{% endif %}
{% endif %}
{% endfor %}
{% for block 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_shown_count %}
{% if block.block_type == 'person_page' %}
{% include "shared/compact_candidate_snippet.html" with person_page=block.value %}
{% endif %}
{% if block.block_type == 'person_block' %}
{% include "shared/blocks/compact_candidate_snippet_block.html" with block=block.value %}
{% endif %}
{% endif %}
{% endfor %}
{% if self.candidate_list|length > self.candidate_list_big_count %}