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