templates/Press/Includes/pressPictureTeaserGridArea.html.twig line 1

Open in your IDE?
  1. <section class="container content-block js-fade-in {{ 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|default(''),
  7.         subtitle: subtitle|default(''),
  8.         wysiwyg: wysiwyg|default(''),
  9.         isCentered: true
  10.     }) }}
  11.     <div class="justify-content-md-center row vertical-gutter--default">
  12.         {% for item in items %}
  13.             {% if item is instanceof('Pimcore\\Model\\Asset\\Image') %}
  14.                 <div class="col-md-3 vertical-gutter__item">
  15.                     {{ include('Includes/Teaser/press-picture-teaser.html.twig', {
  16.                         image: item,
  17.                         orientation: 'landscape',
  18.                         hasWishlist: true,
  19.                         removeFromWishlist: false,
  20.                         badges: [],
  21.                         id: item.id,
  22.                     } )}}
  23.                 </div>
  24.             {% endif %}
  25.         {% endfor %}
  26.     </div>
  27. </section>