{% extends "@ibexadesign/pagelayout.html.twig" %} {% block page_head %} {% if content.fields.description is defined %} {% set description = ibexa_field_value( content, 'description' ) %} {% else %} {% set description = ibexa_content_name( content) %} {% endif %} {{ parent() }} {% endblock %} {% block content %}

{% if not ibexa_field_is_empty( content, 'headline' ) %}{{ ibexa_render_field(content, 'headline')}}{% else %} {% endif %}

{% if not ibexa_field_is_empty( content, 'podcast' ) %}
{% endif %}
{% if not ibexa_field_is_empty( content, 'first_article' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'first_article').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "lineDesign": true }} ) ) }}

{% endif %}
{% if not ibexa_field_is_empty( content, 'second_article' ) %} {{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'second_article').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "fullDesign": true, "hideImage": true, "colWidth": 12, "equalHeight": false }} ) ) }} {% endif %}
{% if not ibexa_field_is_empty( content, 'standpunkt_artikel' ) %} {% if not ibexa_field_is_empty( content, 'kolumne_portrait' ) %} {{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'standpunkt_artikel').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "kolumneDesign": true }} ) ) }} {{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content,"kolumne_portrait").destinationContentId, 'viewType': 'embed', 'noLayout': true, 'params': {'alias': 'magazin_portrait_image_col2','hideText': 'true'}} ) ) }} {% else %} {{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'standpunkt_artikel').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "standpunktDesign": true }} ) ) }} {% endif %}
{% endif %}

{% if not ibexa_field_is_empty( content, 'dossier_title' ) %}
{% if not ibexa_field_is_empty( content, 'dossier_image_list' ) %}
{{ ibexa_field_value( content, 'dossier_subtitle' ) }}

{{ ibexa_field_value( content, 'dossier_title' ) }}

{{ ibexa_render_field( content, 'dossier_text' ) }}
{% else %}
{{ ibexa_render_field( content, 'dossier_subtitle' ) }}

{{ ibexa_field_value( content, 'dossier_title' ) }}

{{ ibexa_render_field( content, 'dossier_text' ) }}
{% endif %}

{% endif %}
{% if not ibexa_field_is_empty( content, 'eltern_link' ) %} {{ ibexa_render_field(content, 'eltern_text') }} {% else %} {{ ibexa_render_field(content, 'eltern_text') }} {% endif %}
Elternbriefe

{% if not ibexa_field_is_empty( content, 'article_teaser' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content, 'article_teaser').destinationContentId, 'viewType': 'teaser', 'noLayout': 1,"params": { "imageDesign": true}} ) ) }}

{% endif %}

{{ ibexa_render_field(content, 'most_viewed_titel') }}

{% for mostViewed in mostViewedList %}
{{ render( controller( "ibexa_content:viewAction", {'locationId': mostViewed, 'viewType': 'teaser', 'noLayout': 1, "params": { "fullDesign": true, "hideImage": false, "colWidth": 12, "equalHeight": false }} ) ) }}
{% endfor %}
{% if not ibexa_field_is_empty( content, 'keyvisual' ) %}
{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content,"keyvisual").destinationContentId, 'viewType': 'embed', 'noLayout': true, 'params': {'alias': 'full_width'}} ) ) }}
{% endif %} {% if not ibexa_field_is_empty( content, 'werbebanner' ) %}

Anzeige

{{ render( controller( "ibexa_content:viewAction", {'contentId': ibexa_field_value(content,"werbebanner").destinationContentId, 'viewType': 'embed', 'noLayout': true, 'params': {'alias': 'full_width'}} ) ) }}
{% endif %}
{{ ibexa_render_field(content, 'author_titel') }}
{% for contentId in ibexa_field_value( content, 'autor_list' ).destinationContentIds %} {{ render( controller( "ibexa_content:viewAction", {'contentId': contentId, 'viewType': 'teaser', 'noLayout': 1, "params": { }} ) ) }} {% endfor %}
{% if not ibexa_field_is_empty( content, 'mediatips_link' ) %} {% set url = getSiteaccessUrlByContentId(ibexa_field_value(content, 'mediatips_link').destinationContentId) %} {% else %}

{{ ibexa_render_field(content, 'mediatips_title') }}

{{ ibexa_field_value(content, 'mediatips_headline') }}

{{ ibexa_field_value(content, 'mediatips_text') }}

{% endif %}
{% if not ibexa_field_is_empty( content, 'survey_relation' ) %} {{ include('@ibexadesign/survey/landingpages.html.twig') }} {% endif %}
{% endblock %} {% block ezobjectrelationlist_field %} {% if not ibexa_field_is_empty( content, field ) %} {% if field.value.destinationContentIds|length > 1 %} {% endif %} {% if field.value.destinationContentIds|length > 1 %} Zurück Vor {% endif %} {% endif %} {% endblock %}