{% load wagtailimages_tags static %}
  • {% with self.page.specific as specific_page %}
    {{ self.number }}
    {% with specific_page.get_profile_image as profile_image %} {% if profile_image %} {% image profile_image fill-150x150 class="object-cover w-12 shrink-0 grow-1" %} {% endif %} {% endwith %}

    {{ specific_page.get_full_name }}

    {% if show_job %} {% if specific_page.job or specific_page.positon %}

    {% if show_job and specific_page.job %} {{ specific_page.job }} {% elif specific_page.position %} {{ specific_page.position }} {% endif %}

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