{% load static wagtailimages_tags %}
{{ forloop.counter }}
{% if block.profile_photo %} {# Match sizing of person_badge_snippet.html to keep the image version count low #} {% image block.profile_photo fill-160x160 as profile_img %} {{ block.title }} {% else %} {{ block.title }} {% endif %}
{{ block.title }}
{% if block.age %} {{ block.age }} let{% if block.job or block.city %},{% endif %} {% endif %} {% if block.job %} {{ block.job }}{% if block.city %},{% endif %} {% endif %} {% if block.city %}{{ block.city }}{% endif %}
{% if block.is_pirate %}
Pirátská strana
Pirátská strana {% endif %} {% if not block.is_pirate and block.other_party %} {% if block.other_party_logo %} {% image block.other_party_logo width-48 as logo_img %}
{{ block.other_party }}
{% endif %} {{ block.other_party }} {% endif %}