blog-rekahsoft-ca/templates/partials/pagination.html

24 lines
662 B
HTML
Raw Normal View History

<div class="container" id="pagination">
$if(firstPageUrl)$
<a class="firstPage" href="$firstPageUrl$">First Page</a>
$else$
<span class="on-first-page">First Page</span>
$endif$
$if(previousPageUrl)$
<a class="previousPage" href="$previousPageUrl$">Previous Page</a>
$else$
<span class="no-previous-page">Previous Page</span>
$endif$
$if(nextPageUrl)$
<a class="nextPage" href="$nextPageUrl$">Next Page</a>
$else$
<span class="no-next-page">Next Page</span>
$endif$
$if(lastPageUrl)$
<a class="lastPage" href="$lastPageUrl$">Last Page</a>
$else$
<span class="on-last-page">Last Page</span>
$endif$
</div>