templates/Includes/teaser-grid.html.twig line 1

Open in your IDE?
  1. <section class="{{ styleModifier | default(null) }} {{ anchorNavItem | default(null) ? 'js-anchor-nav__item' : '' }}"
  2.     {% if anchorNavItem | default(null) and anchorNavTitle | default(null) %}
  3.     data-anchor-nav-title="{{ anchorNavTitle }}"
  4.     {% endif %}>
  5.     {{ include('Includes/title-block.html.twig', {
  6.         title: title,
  7.         subtitle: subtitle,
  8.         wysiwyg: wysiwyg,
  9.         isCentered: true
  10.     }) }}
  11.     <section class="{{ styleModifier | default(null)}}">
  12.         <div class="row vertical-gutter--default">
  13.                 <div class="vertical-gutter__item col-md-4 col-6">
  14.                     <div class="vertical-gutter--default">
  15.                         <div class="vertical-gutter__item">
  16.                             {{ include('Renderlet/contentTeaser.html.twig', {
  17.                                 title: items.item1.title,
  18.                                 subtitle: items.item1.subtitle,
  19.                                 href: items.item1.href,
  20.                                 image: items.item1.image,
  21.                                 orientation: 'landscape'
  22.                             }) }}
  23.                         </div>
  24.                         <div class="vertical-gutter__item">
  25.                             {{ include('Renderlet/contentTeaser.html.twig', {
  26.                                 title: items.item2.title,
  27.                                 subtitle: items.item2.subtitle,
  28.                                 href: items.item2.href,
  29.                                 image: items.item2.image,
  30.                                 orientation: 'landscape'
  31.                             }) }}
  32.                         </div>
  33.                     </div>
  34.                 </div>
  35.             <div class="vertical-gutter__item col-md-3 col-6">
  36.                 {{ include('Includes/Teaser/simple-text-snippet.html.twig',{
  37.                     hasImage: true,
  38.                     image: items.item3.image,
  39.                     text: items.item3.title,
  40.                     button: {
  41.                         href: items.item3.href,
  42.                         text: 'community.Unterkünfte'|trans
  43.                     }
  44.                 }
  45.                 ) }}
  46.             </div>
  47.             <div class="vertical-gutter__item col-md-4 col-6">
  48.                 <div class="vertical-gutter--default">
  49.                     <div class="vertical-gutter__item">
  50.                         {{ include('Renderlet/contentTeaser.html.twig', {
  51.                             title: items.item4.title,
  52.                             subtitle: items.item4.subtitle,
  53.                             href: items.item4.href,
  54.                             image: items.item4.image,
  55.                             orientation: 'landscape'
  56.                         }) }}
  57.                     </div>
  58.                     <div class="vertical-gutter__item">
  59.                         {{ include('Renderlet/contentTeaser.html.twig', {
  60.                             title: items.item5.title,
  61.                             subtitle: items.item5.subtitle,
  62.                             href: items.item5.href,
  63.                             image: items.item5.image,
  64.                             orientation: 'landscape'
  65.                         }) }}
  66.                     </div>
  67.                 </div>
  68.             </div>
  69.         </div>
  70.     </section>
  71. </section>