templates/videos/index.html.twig line 1

Open in your IDE?
  1. {% extends "page_header.html.twig" %}
  2. {% block page_container %}
  3.     <div class="back-trading-video back-trading-video2 video-list-container">
  4.         <div class="container">                                      
  5.             <ul class="row">
  6.                 {% for content in collection %}
  7.                 <li class="col-lg-4">
  8.                     <div class="image-area">
  9.                         <a href="#">
  10.                             <img src="{{ content.thumbnail|imagine_filter('thumbnail_500_400') }}" alt="{{ content.title }}">
  11.                         </a>
  12.                         <a href="{{ path('video_show', {'slug':content.slug}) }}" class="back-video"><i class="fa-solid fa-play"></i></a>
  13.                         <div class="back-btm-content">
  14.                         <h3><a href="{{ path('video_show', {'slug':content.slug}) }}">
  15.                             {{ content.title |u.truncate('50') }}
  16.                         </a></h3>
  17.                         <ul>
  18.                             <li class="back-author">
  19.                                 <span>
  20.                                     <img src="{{ content.user.thumbnail|imagine_filter('thumbnail_small')}}" alt="{{ content.user.firstname ~' '~ content.user.lastname}}">
  21.                                 </span>
  22.                                 <a href="#">{{ content.user.firstname}}</a>
  23.                             </li>
  24.                             <li class="back-date"><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>
  25.                                 </span>{{ content.datePublished|date("j F Y")}}
  26.                             </li>
  27.                         </ul>
  28.                         </div>
  29.                     </div> 
  30.                 </li>
  31.                 {% endfor %}
  32.             </ul>                                                                            
  33.         </div>
  34.     </div>
  35. {% endblock %}