{% set topArticles = [] %}
{% for item in block.articleBlock %}
{% if item['topArticle']|default(false) and item['topArticle'].data %}
{% set topArticles = topArticles|merge([item['topArticle'].data]) %}
{% endif %}
{% endfor %}
{{ include('Magazine/Includes/topArticle.html.twig', {
title: block.headline,
topArticles: topArticles
}) }}