Add pagination to forums archives.
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
<div class="pagination">
|
||||
<a class="prev" href="page-{{prev}}.html">Previous Page</a>
|
||||
<ul>
|
||||
{{#page_links}}
|
||||
<li><a href="{{link}}">{{label}}</a></li>
|
||||
{{/page_links}}
|
||||
</ul>
|
||||
<a class="next" href="page-{{next}}.html">Next Page</a>
|
||||
</div>
|
@@ -3,14 +3,16 @@
|
||||
<table id="threads">
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
<th>Poster</th>
|
||||
<th>Poster</th>
|
||||
<th>Date</th>
|
||||
<th>Replies</th>
|
||||
</tr>
|
||||
{{#threads}}
|
||||
<tr>
|
||||
<td class="thread-subject"><a href="thread-{{id}}">{{subject}}</a></td>
|
||||
<td class="thread-poster">{{poster_name}}</td>
|
||||
<td class="thread-date">{{datetime}}</td>
|
||||
<td class="replies">{{num_replies}}</td>
|
||||
</tr>
|
||||
{{/threads}}
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user