{% load wagtailimages_tags %} {% image main_image fill-1920x1080 as background_image %} {% image profile_image fill-500x500 as processed_profile_image %}
{% firstof second_nav_text 'Osoby' as actual_second_nav_text %} {% include 'styleguide2/includes/atoms/header/navigation.html' with classes='mb-10' first_text=first_nav_text second_text=actual_second_nav_text first_link=first_nav_link %}
{% if not background_image %} {{ processed_profile_image.alt }} {% endif %}
{% if degree_before %} {{ degree_before }} {% endif %}
{{ name }} {% if degree_after %} {{ degree_after }} {% endif %}
{% if function or job %}
{% if function %}
{{ function }}
{% endif %} {% if job and function != job %}
{{ job }}
{% endif %}
{% endif %} {% block after_function %}{% endblock %}