summaryrefslogtreecommitdiff
path: root/srv/src/api/tpl/index.html
diff options
context:
space:
mode:
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" . }}