summaryrefslogtreecommitdiffstats
path: root/templates/pagenav.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pagenav.html')
-rw-r--r--templates/pagenav.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/pagenav.html b/templates/pagenav.html
new file mode 100644
index 00000000..5cab6a46
--- /dev/null
+++ b/templates/pagenav.html
@@ -0,0 +1,15 @@
+<ul class="pagination pagination-sm pull-right">
+ {{#pages}}
+ {{#current}}
+ <li class="active"><a href="{{url}}page={{page}}">{{text}} <span class="sr-only">(current)</span></a></li>
+ {{/current}}
+ {{^current}}
+ {{#text}}
+ <li><a href="{{url}}page={{page}}">{{text}}</a></li>
+ {{/text}}
+ {{^text}}
+ <li class="disabled"><a href="#">&hellip;</a></li>
+ {{/text}}
+ {{/current}}
+ {{/pages}}
+</ul>