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) or badge | default(null) %}
  9.                 <div class="tour-detail__info-wrapper">
  10.                     {% if badgeAddon|default(false) %}
  11.                         {{ badgeAddon|raw }}
  12.                     {% endif %}
  13.                     {% if badge | default(null) %}
  14.                         <span class="px-4 badge badge-{{ badge.color | default('success') }}">
  15.                             {{ badge.text }}
  16.                         </span>
  17.                     {% endif %}
  18.                 </div>
  19.             {% endif %}
  20.     </div>
  21.     <div class="col-6">
  22.         {% if description|default(false) %}
  23.             <div class="wysiwyg title-block__wysiwyg">{{ description|raw }}</div>
  24.         {% endif %}
  25.     </div>
  26. </div>
  27. {% if expand|default(false) %}
  28.     <div class="wysiwyg mt-4">
  29.         {{ expand|raw  }}
  30.     </div>
  31.     {% if expandHidden|default(false) %}
  32.         <div id="titleBlockExpand" class="collapse" aria-labelledby="titleBlockExpandTitle">
  33.             <div class="wysiwyg pt-4">
  34.                 {{ expandHidden|raw }}
  35.             </div>
  36.         </div>
  37.         <button type="button" class="btn btn-link collapsed mt-3 collapse-btn" data-toggle="collapse" data-target="#titleBlockExpand" id="titleBlockExpandTitle" aria-expanded="false" aria-controls="titleBlockExpand">
  38.             <span class="collapse-btn__more">{{ 'content.Mehr erfahren'|trans }}</span>
  39.             <span class="collapse-btn__less">{{ 'content.Weniger anzeigen'|trans }}</span>
  40.         </button>
  41.     {% endif %}
  42. {% endif %}
  43. </div>