summaryrefslogtreecommitdiff
path: root/themes/_includes/components/pagination.html
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-10-14 19:15:51 +0200
committerEugen Wissner <belka@caraus.de>2025-10-14 19:15:51 +0200
commit8a2dadcd2572fb5f472c91e8bc3957882fa48320 (patch)
treea982606db7fc2373994c645fa310d925dfcaac7c /themes/_includes/components/pagination.html
downloadflevum-8a2dadcd2572fb5f472c91e8bc3957882fa48320.tar.gz
Open the blog
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>