linklist.mustache 612 B

12345678910111213141516171819202122232425262728293031
  1. <div class="linklist">
  2. {{#links}}
  3. {{>link}}
  4. {{/links}}
  5. </div>
  6. {{#pages}}
  7. <div class="pagination">
  8. <div class="navbutton">
  9. <a href="?page=0">first</a>
  10. </div>
  11. <div class="navbutton">
  12. {{#previous}}
  13. <a href="?page={{page}}">prev</a>
  14. {{/previous}}
  15. {{^previous}}
  16. prev
  17. {{/previous}}
  18. </div>
  19. <div class="navbutton">
  20. {{#next}}
  21. <a href="?page={{page}}">next</a>
  22. {{/next}}
  23. {{^next}}
  24. next
  25. {{/next}}
  26. </div>
  27. <div class="navbutton">
  28. <a href="?page={{last}}">last</a>
  29. </div>
  30. </div>
  31. {{/pages}}