templates/articles-blocks/see-more.html.twig line 14

Open in your IDE?
  1. {% if data.articles is defined and data.articles is not empty and data.articles|length > 0 %}
  2.     <section class="linked-with mb-40px">
  3.         {% if data.title is defined and data.title is not empty %}
  4.             <h2 class="fs30 lh36 fw400 mt-40px">
  5.                 {{ data.title }}
  6.             </h2>
  7.         {% endif %}
  8.         <div class="articles-container mt-40px">
  9.             <div class="splide-photo splide" aria-label="En lien avec">
  10.                 <div class="splide__track">
  11.                     <ul class="splide__list mb-3p5em">
  12.                         {% for i, article in data.articles %}
  13.                             <li class="splide__slide dflex jcc">
  14.                                 {% include "blocks/sort-articles.html.twig" with {type: article.type} %}
  15.                             </li>
  16.                         {% endfor %}
  17.                     </ul>
  18.                 </div>
  19.             </div>
  20.         </div>
  21.     </section>
  22. {% endif %}