blog-rekahsoft-ca/templates/partials/pagination.html
Collin J. Doering 0902730137 Removed use of virtualpath contexts
Now because all URLs are now valid urls, and no special treatment of
pages is required the following changes were made:

* Removed rel attribute from navigation anchor tags in
  "templates/partials/nav.html"
* Removed use of virtualpath context and associated pagination code
  associated with virtual paths in "src/site.hs"
* Removed unneeded bloat from "templates/paritals/paginate.html" because
  irtualPaginateContext is now no longer needed

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-08-16 02:15:26 -04:00

24 lines
662 B
HTML

<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>