templates/Default/videos.html.twig line 1

  1. {% set title = 'Vidéos' %}
  2. {% set menu = 'articles' %}
  3. {% import "Default/macros.html.twig" as macros %}
  4. {% extends 'Default/base.html.twig' %}
  5. {% block content %}
  6. <div class='bg-white {{desktop("hz-50 vt-50-in")}} {{mobile("bottom-20-in")}} '>
  7.     <div class='w100 articles {{desktop("")}} {{mobile("")}}'>
  8.         <div class='w100 {{desktop("gpadding flex row space wrap")}} {{mobile("hz-20-in top-30")}}'>
  9.             {% for o in list %}
  10.             {{macros.video(o)}}
  11.             {% endfor %}
  12.             {% if isDesktop() and (list|length % 3) %}
  13.             {% for o in 1..(3 - list|length % 3) %}
  14.             <i class="third-20"></i>
  15.             {% endfor %}
  16.             {% endif %}
  17.         </div>
  18.     </div>
  19.     <div class='{{desktop("")}} {{mobile("vt-20-in")}}'>
  20.     {% include ("Default/counter.html.twig") with {expanded:true} %}
  21.     </div>
  22. </div>
  23. {% endblock %}