summaryrefslogtreecommitdiff
path: root/srv/src/api/tpl/index.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-14 20:42:43 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-14 20:42:43 -0600
commite24dd6d630cf558c616c1252bacfff6d343b4194 (patch)
tree8e272e095f2f906adeae4688f4b81396926e7a73 /srv/src/api/tpl/index.html
parente41ff2b897be24a894e75b850f1c06652cc034be (diff)
Import posts in dev-shell target
Diffstat (limited to 'srv/src/api/tpl/index.html')
-rw-r--r--srv/src/api/tpl/index.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/srv/src/api/tpl/index.html b/srv/src/api/tpl/index.html
index 240df92..b71dc01 100644
--- a/srv/src/api/tpl/index.html
+++ b/srv/src/api/tpl/index.html
@@ -17,4 +17,12 @@
</ul>
{{ end }}
+{{ if ge .PrevPage 0 }}
+<a href="?p={{ .PrevPage}}">Previous</a>
+{{ end }}
+
+{{ if ge .NextPage 0 }}
+<a href="?p={{ .NextPage}}">Next</a>
+{{ end }}
+
{{ template "base.html" . }}