{% load wagtailimages_tags static %}
  • {{ self.number }}
    {% if self.page.profile_image %} {% image self.page.profile_image fill-150x150 class="w-12 object-cover" %} {% endif %}

    {{ self.page.title }}

    {% if self.page.position %}

    {{ self.page.position }}

    {% endif %} {% if self.page.is_pirate is not None %}
    {% if self.page.is_pirate %} Logo pirátské strany
    Pirátská Strana
    {% else %} {% image self.page.other_party_logo fill-150x150 as other_party_logo_image %} Logo {{ self.page.other_party }}
    {{ self.page.other_party }}
    {% endif %}
    {% endif %}