templates/Includes/main-title-block-splitted.html.twig line 1

Open in your IDE?
  1. <div class="title-block title-block--main title-block--splitted content-block container container-sm {{ styleModifier|default('') }}">
  2.     <div class="row">
  3.         <div class="col-6 text-right">
  4.             {% if subtitle|default(false) %}
  5.                 <div class="title-block__sub-title">{{ subtitle }}</div>
  6.             {% endif %}
  7.             <h1 class="title-block__title js-toc__title">{{ headline|default('') }}</h1>
  8.             {% if badgeAddon|default(false) %}
  9.                 {{ badgeAddon|raw }}
  10.             {% endif %}
  11.             {% if badge | default(null) %}
  12.                 <span class="px-4 badge badge-{{ badge.color | default('success') }}">
  13.                     {{ badge.text }}
  14.                 </span>
  15.             {% endif %}
  16.         </div>
  17.         <div class="col-6">
  18.             {% if description|default(false) %}
  19.                 <div class="wysiwyg title-block__wysiwyg">{{ description|raw }}</div>
  20.             {% endif %}
  21.         </div>
  22.     </div>
  23.     {% if expand|default(false) %}
  24.         <div class="wysiwyg mt-4">
  25.             {{ expand|raw  }}
  26.         </div>
  27.         {% if expandHidden|default(false) %}
  28.             <div id="titleBlockExpand"
  29.                  class="collapse"
  30.                  aria-labelledby="titleBlockExpandTitle">
  31.                 <div class="wysiwyg pt-4">
  32.                     {{ expandHidden|raw }}
  33.                 </div>
  34.             </div>
  35.             <button type="button" class="btn btn-link collapsed mt-3 collapse-btn"
  36.                     data-toggle="collapse"
  37.                     data-target="#titleBlockExpand"
  38.                     id="#titleBlockExpandTitle"
  39.                     aria-expanded="false" aria-controls="titleBlockExpand">
  40.                 <span class="collapse-btn__more">{{ 'content.Mehr erfahren'|trans }}</span>
  41.                 <span class="collapse-btn__less">{{ 'content.Weniger anzeigen'|trans }}</span>
  42.             </button>
  43.         {% endif %}
  44.     {% endif %}
  45. </div>