mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-29 09:55:37 +01:00
20 lines
895 B
Text
20 lines
895 B
Text
<div class="pagination">
|
|
|
|
<% if (page.prev || page.next) { %>
|
|
<% if (page.prev){ %>
|
|
<a href="<%- url_for('./') %><%- page.prev.path %>" type="button" class="btn btn-default"><i
|
|
class="fa fa-arrow-circle-o-left"></i> <%= __('prev') %></a>
|
|
<% } else { %>
|
|
<a type="button" class="btn btn-default disabled"><i class="fa fa-arrow-circle-o-left"></i><%= __('prev') %></a>
|
|
<% } %>
|
|
|
|
<a href="<%- url_for('./') %>" type="button" class="btn btn-default"><i class="fa fa-home"></i>主页</a>
|
|
<% if (page.next){ %>
|
|
<a href="<%- url_for('./') %><%- page.next.path %>" type="button" class="btn btn-default "><%= __('next') %><i
|
|
class="fa fa-arrow-circle-o-right"></i></a>
|
|
<% } else { %>
|
|
<a type="button" class="btn btn-default disabled"><%= __('next') %><i class="fa fa-arrow-circle-o-right"></i></a>
|
|
<% } %>
|
|
|
|
<% } %>
|
|
</div>
|