{% if this.items|length %}
   <div {{ attributes }}>
      <div class="inner">
         {% for item in this.items %}
            <div class="item item-{{ item.id }}">
               <a href="{{ this.url(item.id, this.type) }}" class="item-inner" title="{{ item.title }}">
                  <div class="item-image">
                     {% if this.thumbnail(item.id) %}
                        <twig:Picture class="img-responsive" thumbnail="{{ this.thumbnail(item.id) }}" type="{{ this.photoType }}"/>
                     {% endif %}
                  </div>
                  <div class="item-title">
                     <h2 class="heading-reset">{{ item.title }}</h2>
                  </div>
               </a>
            </div>
         {% endfor %}
      </div>
   </div>
{% endif %}
