summaryrefslogtreecommitdiff
path: root/themes/_includes/components/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/_includes/components/pagination.html')
-rw-r--r--themes/_includes/components/pagination.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/_includes/components/pagination.html b/themes/_includes/components/pagination.html
new file mode 100644
index 0000000..524cc8f
--- /dev/null
+++ b/themes/_includes/components/pagination.html
@@ -0,0 +1,15 @@
+<div class="pagination">
+ $if(previousPageNum)$
+ <a href="$previousPageUrl$" class="previous">&larr; Vorherige</a>
+ $else$
+ <span>&nbsp;</span>
+ $endif$
+
+ <span class="page_number">Seite $currentPageNum$ von $numPages$</span>
+
+ $if(nextPageNum)$
+ <a href="$nextPageUrl$" class="next">Nächste &rarr;</a>
+ $else$
+ <span>&nbsp;</span>
+ $endif$
+</div>