aboutsummaryrefslogtreecommitdiff
path: root/templates/images.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/images.html')
-rw-r--r--templates/images.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/images.html b/templates/images.html
index fd4915a..2f1bb40 100644
--- a/templates/images.html
+++ b/templates/images.html
@@ -60,6 +60,15 @@
</div>
{{endfor}}
</div>
+ <nav class="pagination">
+ <a class="pagination-btn prev" href="/images?q={{query}}&p={{prev_page}}">
+ &larr; Page {{prev_page}}
+ </a>
+ <span class="pagination-current">Page {{page}}</span>
+ <a class="pagination-btn next" href="/images?q={{query}}&p={{next_page}}">
+ Page {{next_page}} &rarr;
+ </a>
+ </nav>
</main>
</body>