templates/videos/sidebar_videos.html.twig line 1

Open in your IDE?
  1. <div class="sidebar-widget">
  2.     <h4>Video Feed</h4>
  3.     <ul class="back-hero-bottom back-hero-bottom2 back-hero-rights back-hero-bottom-home3">
  4.         {% for content in collection %}
  5.         <li>
  6.             <div class="image-areas">
  7.                 <a href="#">
  8.                         <img src="{{ content.thumbnail|imagine_filter('thumbnail_small') }}" alt="{{ content.title }}">
  9.                         <span class="play-btn"><i class="fa-solid fa-play"></i></span>
  10.                 </a>
  11.             </div> 
  12.             <div class="back-btm-content">
  13.                     <a href="#" class="back-cates">Lifestyle</a>
  14.                     <h3><a href="{{ path('video_show', {'slug':content.slug}) }}">{{ content.title }}</a></h3>
  15.                     <ul class="back-meta">
  16.                         <li class="back-date">
  17.                                <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>
  18.                                {{ content.datePublished|date("j F Y")}}
  19.                         </li>
  20.                     </ul>
  21.             </div>
  22.         </li>
  23.         {% endfor %}                         
  24.     </ul>
  25. </div>