mirror of https://github.com/bvn13/VoidForum.git
27 lines
587 B
Plaintext
27 lines
587 B
Plaintext
|
|
.load-more
|
|
nav
|
|
ul.pagination
|
|
if page > 1
|
|
li.previous
|
|
a.btn(href="?page=#{page - 1}")
|
|
span(aria-hidden="true") ←
|
|
| Older comments
|
|
|
|
for pageNum in pagesList
|
|
if pageNum==page
|
|
li.active
|
|
a.btn(href="?page=#{pageNum}")
|
|
= pageNum
|
|
else
|
|
li
|
|
a.btn(href="?page=#{pageNum}")
|
|
= pageNum
|
|
|
|
|
|
if totalPages > page
|
|
li.next
|
|
a.btn(href="?page=#{page + 1}")
|
|
| Newer comments
|
|
span(aria-hidden="true") →
|