summaryrefslogtreecommitdiff
path: root/templates/index.hbs
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.org>2020-05-28 18:12:46 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.org>2020-05-28 18:12:46 -0400
commit4dbb8998f840a771949ed30f9f2b652713edd0f9 (patch)
tree938d79fef0b4c6ca8ccde0bd46a0a4f727e9d032 /templates/index.hbs
parent3417d6323598bca299a3d4c6dea21e013e6681be (diff)
Implement initial pagination.
Diffstat (limited to 'templates/index.hbs')
-rw-r--r--templates/index.hbs3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/index.hbs b/templates/index.hbs
index f0d6d91..18245a0 100644
--- a/templates/index.hbs
+++ b/templates/index.hbs
@@ -13,6 +13,9 @@
{{#each images}}
<img src="/image/{{thumb_filename}}">
{{/each}}
+ {{#if next_page}}
+ <p><a href="{{next_page}}">next</a></p>
+ {{/if}}
</main>
<aside id="tag-view">
<section id="search">