{% image page.main_image max-1920x800 as main_img %} {% with before_title=page.before_name after_title=page.after_name subtitle=page.position image_url=main_img.url %} {% include 'main/includes/layout/person_photo_page_header.html' %} {% endwith %}

{{ page.perex }}

{{ page.text|richtext }}
{% if page.email or page.phone %}
{% if page.email %} {% endif %} {% if page.phone %} {% endif %}
{% endif %} {% if page.social_links %}
{% for social_block in page.social_links %} {% endfor %}
{% endif %}
{% if instagram_post_list %}

Aktuálně na Instagramu

{% endif %} {% if article_page_list %}

Články

{% for article_preview in article_page_list %}
{% if article_preview.image %}
{% image article_preview.image fill-250x250 as article_image %}
{% endif %}
{{ article_preview.date }} {% for tag in article_preview.tags.all %} {{ tag }} {% endfor %}

{{ article_preview.title }}

{{ article_preview.perex }}

{% include 'main/includes/href_button.html' with btn_link=article_preview.url btn_text="Číst dále" %}
{% endfor %}
{% endif %} {% for people_group in page.people %}

{{ people_group.value.title }}

{% for person in people_group.value.person_list %}
{% image person.profile_image fill-250x250 as profile_image %} {{ person.title }}

{{ person.title }}

{{ person.position|default_if_none:"" }}
{% include 'main/includes/href_button.html' with btn_link=person.url btn_text="Detail" %}
{% endfor %}
{% endfor %} {% include 'main/includes/newsletter_section.html' %}