templates/Magazine/DetailBlocks/BlogArticleTopArticles.html.twig line 1

Open in your IDE?
  1. {% set topArticles = [] %}
  2. {% for item in block.articleBlock %}
  3.     {% if item['topArticle']|default(false) and item['topArticle'].data %}
  4.         {% set topArticles = topArticles|merge([item['topArticle'].data]) %}
  5.     {% endif %}
  6. {% endfor %}
  7. {{ include('Magazine/Includes/topArticle.html.twig', {
  8.     title: block.headline,
  9.     topArticles: topArticles
  10. }) }}