{# /** * @file * Display Suite card image top. * * Available variables: * - outer_wrapper: outer wrapper element * - first_wrapper: wrapper element around first region * - second_wrapper: wrapper element around second region * - attributes: layout attributes * - first_attributes: attributes for first region * - second_attributes: attributes for second region * - first: content of first region * - second: content of second region */ #} <{{ outer_wrapper }}{{ attributes.addClass('card', 'clearfix') }}> {{ title_suffix.contextual_links }} {% if first.field_english_bio['#items'].0.value == 1 %} <{{ first_wrapper }}{{ first_attributes.addClass('card-img-top english-bio') }}> {% else %} <{{ first_wrapper }}{{ first_attributes.addClass('card-img-top') }}> {% endif %} {{ first }} {% if first.field_english_bio['#items'].0.value == 1 %} <{{ second_wrapper }}{{ second_attributes.addClass('card-body english-bio-body') }}> {% else %} <{{ second_wrapper }}{{ second_attributes.addClass('card-body') }}> {% endif %} {{ second }}