{% extends '@designs-default/components/teaser/default.twig' %} {# Reason for deviation: # Different image alias, No author, different col-sm-xx classes #} {% set options = options|default({}) + { teaser_imagesize: 'teaser_portrait', teaser_author: false, teaser_image_container_class: 'col-4 col-sm-12', teaser_text_container_class: 'col-8 col-sm-12', } %} {# The Logic below is only for the Inline teasers inside an Article #} {% if options.teaser_variant|default == 'inline' %} {% set is_tipser = 'tipser' in teaser.taxonomy['flags']|default([]) %} {% set is_affiliate = '_affilliate' in teaser.taxonomy['flags']|default([]) %} {% set options = { teaser_buttontext: is_affiliate or is_tipser ? 'Lesen & Shoppen': 'Mehr lesen', } + options %} {% endif %}