is there any way to iterate two list in sightly with below condition
<div data-sly-repeat.item="${items}">
i=${itemList.count}
<div data-sly-list.value="${variableObject.iconImage}">
j=${valueList.count}
<div data-sly-test.my=[${itemList.count}=${valueList.count}]>
<span class="cmp-accordion__icon nn-accordnion__icon__chevron">
<img src="${value.setImageIcon}" width="44" height="44" alt="${value.altText}">
</span>
</div>
</div>
.
is there any way to iterate like if(i==j) then only <span> image should come ? please help i have considered i and j in above code those are count of both list.