Hi,
I want to add the pagination feature in aem 6.4 in my sightly code. I want to perform iteration for the page numbers.
<div class="pagination-section">
<div class="row">
<div class="col-md-12 paging">
<nav aria-label="Page navigation example">
<ul class="justify-content-center pagination">
<li class="page-item first disable-custom"><a href="#" aria-label="First">
<span class="arrow-span-first"><</span>
<span class="sr-only">First</span></a>
</li>
<ul class="pagination-count pagination">
<li class="page-item active"><a class="page-link" href="#">1 <span class="sr-only">(current)</span> </a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
</div>
Can I iterate through the pages dynamically in my code? I want the page numbers "1" and "2" to be dynamic here.
Regards,
Berni
smacdonald2008 Jörg Hoh