I've created a custom block type includes a paragraph type field and make it multiple. I've configured this block to display it only on the front page. I have a page--front.html.twig
template in my custom theme. What I want to do in my front page template is looping through the paragraph field to get each field item and theming it in custom HMTL.
So what is the correct way to do this?
I've tried block--BLOCKID.html.twig
and try this code.
{% for item in content.field_home_page_carousel %}
{{ kint(item.field_home_slide_image) }}
{% endfor %}
but I got nothing.