mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
commit
11eccb0708
@ -1,7 +1,7 @@
|
||||
<%- partial('topic/abstract', {collection:topics, as:'topic'}) %>
|
||||
<div class='pagination' current_page='<%= current_page %>'>
|
||||
<ul>
|
||||
<% var base_url = base + (base === '/' ? '?' : '&') + 'page='; %>
|
||||
<% var base_url = base + (base.indexOf('?') < 0 ? '?' : '&') + 'page='; %>
|
||||
<% if (current_page == 1) { %>
|
||||
<li class='disabled'><a>«</a></li>
|
||||
<% } else { %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user