templates/blocks/preview-content-logic.html.twig line 1

Open in your IDE?
  1. <div class="articles-container mt-40px">
  2.     <div class="preview-articles dflex fwwrap jcsa">
  3.         {% if block.show_articles is defined and block.show_articles is not empty %}
  4.             {% if block.slider_mode is defined and block.slider_mode is not empty %}
  5.                 <div class="splide-photo splide" aria-label="En lien avec">
  6.                     <div class="splide__track">
  7.                         <ul class="splide__list mb-3p5em">
  8.                         {% endif %}
  9.                         {% for i, article in articles %}
  10.                             {% include "blocks/sort-articles.html.twig" with {type: article.type} %}
  11.                         {% endfor %}
  12.                         {% if block.slider_mode is defined and block.slider_mode is not empty %}
  13.                         </ul>
  14.                     </div>
  15.                 </div>
  16.             {% endif %}
  17.         {% endif %}
  18.     </div>
  19. </div>