{% if blocks_homepage|default([])|length %}
{% for block in blocks_homepage %}
{% include 'includes/blocks/' ~ block.type ~ '.html.twig' with { content: block, view: view.blocks[loop.index0], } only %}
{% endfor %}
{% endif %}