templates/home/_slider.twig line 1

Open in your IDE?
  1. {% if sliderItemPaginator.result|length > 0 %}
  2. <section class="komili-home-hero owl-carousel" style="height:auto;">
  3.     {% for item in sliderItemPaginator.result %}
  4.     <div class="hero-item">
  5.         <a {% if item.path %}href="{{ item.path }}"{% else %}href="javascript:;" {% endif %}>
  6.             <img src="{{ item.image.url }}" alt="">
  7.         </a>
  8.     </div>
  9.     {% endfor %}
  10. </section>
  11. {% endif %}