So my 1. file is "_overview-topicTeaser.twig" which is within a matrix:
{% include 'modules/module-squareteaser/_module-squareteaser' with {
squareTeasers: block.topicTeaserItems.all(),
squareteaserHeadline: block.topicTeaserItems.one().entryTopicHeadline
} %}
And my 2. file is "_module-squareteaser.twig":
<div class="squareteaser__wrapper _parent-3-child"> {% for item in squareTeasers %} {% include 'modules/module-squareteaser/_module-squareteaser-item' with { headline: squareteaserHeadline } %} {% endfor %} </div>
So i am looping in the 2. file the file "_module-squareteaser-item.twg" and want to put out the "squareteaserHeadline" in the frontend. But it always gives me the same headline from my first teaser in the loop, makes sense to me cause i am using the "one()" when i include the variable "squareteaserHeadline" in the first file. But if i delete the "one()" i get nothing... so how do i get all teasers whith their own headline?