templates/partials/_blog_section.html.twig line 1

Open in your IDE?
  1. {% for post in blogPosts %}
  2.     <div class="blog-post no-padding-lr blog-click anchor" data-url="{{ ('/blog' ~ post.slug) | base64 }}">
  3.         <div class="post-category-anchor anchor" data-url="{{ filter(post.category, 'category', '/blog') | base64 }}">
  4.             <span class="category">{{ post.category }}</span>
  5.         </div>
  6.         <div class="post-anchor">
  7.             <div class="post-photo">
  8.                 <img src="{{ static_dir ~ '/thumbs' ~ post.thumb_filename }}" alt="{{ post.title }}" />
  9.             </div>
  10.             <div class="post-description">
  11.                 <div class="author-date">
  12.                     <div class="author">autor {{ post.author }}</div>
  13.                     <div class="date">data {{ post.created_at | date('d-m-Y') }}</div>
  14.                 </div>
  15.                 <div class="title">{{ post.title }}</div>
  16.                 <div class="short-description">
  17.                     {{ post.abstract }}
  18.                     <div class="read-more">Czytaj wiÄ™cej...</div>
  19.                 </div>
  20.             </div>
  21.         </div>
  22.     </div>
  23. {% endfor %}