I'm trying to make a News item grid. I'm looking for a solution to output 2 type of "rows". One that shows 2 entries and the other shows 3 entries. I tried playing around with batches already but can't really manage to get it working alright. Is batch the right filter to use? If not what should I try using?
It should look like this:
Twigless code looks like this:
<!-- Begin row type 1 -->
<div class="row rowDivider">
<div class="col-md-4">
<div class="caseGrid-item">
</div>
</div>
<div class="col-md-8">
<div class="caseGrid-item big-item">
</div>
</div>
</div>
<!-- End row type 1 -->
<!-- Begin row type 2 -->
<div class="row rowDivider">
<div class="col-md-4">
<div class="caseGrid-item">
</div>
</div>
<div class="col-md-4">
<div class="caseGrid-item">
</div>
</div>
<div class="col-md-4">
<div class="caseGrid-item">
</div>
</div>
</div>
<!-- End row type 2 -->
<!-- Begin row type 1 -->
<div class="row rowDivider">
<div class="col-md-8">
<div class="caseGrid-item big-item">
</div>
</div>
<div class="col-md-4">
<div class="caseGrid-item">
</div>
</div>
</div>
<!-- End row type 1 -->