Show articles in twos?

Question

I’m looking at displaying articles in twos. ie:

<section class="side" data-role="side" id="section-section1">
    Two articles
</section>

<section class="side" data-role="side" id="section-section2">
    Next Two articles
</section>

<section class="side" data-role="side" id="section-section3">
    Next Two articles
</section>

I’m currently using an offset but eventually as more articles are added I need it to automatically keep pairing the articles.

Does anyone have a clever solution or am I stuck with an offset? (note I have no option apart from displaying in twos due to the design)

0
Paul 2 years 2019-10-28T09:16:12-05:00 0 Answers 80 views 0

Leave an answer

Browse
Browse