{% load static wagtailimages_tags %}
{{ forloop.counter }}
{% if block.profile_photo %} {# Match sizing of person page to keep the image version count low #} {% image block.profile_photo fill-416x416 as profile_img %} {{ block.title }} {% else %} {{ block.title }} {% endif %}

{{ block.title }}

{% if block.email %} {{ block.email }} {% endif %} {% if block.job %}

{{ block.job }}

{% endif %} {% if block.city %}

{{ block.city }}

{% endif %}
{% if block.age %}
{{ block.age }} let
{% 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 %}