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

40 lines
1.2 KiB
HTML
Raw Normal View History

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