27 lines
676 B
Cheetah
27 lines
676 B
Cheetah
|
<%def name="post_pager(post)">
|
||
|
<div class="pagination">
|
||
|
|
||
|
%if post.prev_post:
|
||
|
<a class="pagination-item older" href="${post.prev_post.permalink(lang)}">Older</a>
|
||
|
%endif
|
||
|
%if post.next_post:
|
||
|
<a class="pagination-item newer" href="${post.next_post.permalink(lang)}">Newer</span>
|
||
|
%endif
|
||
|
|
||
|
</div>
|
||
|
</%def>
|
||
|
|
||
|
<%def name="html_pager()">
|
||
|
%if prevlink or nextlink:
|
||
|
<div class="pagination">
|
||
|
|
||
|
%if prevlink:
|
||
|
<a href="${prevlink}" rel="prev"></a>
|
||
|
<a class="pagination-item newer" href="${prevlink}">Newer</span>
|
||
|
%endif
|
||
|
%if nextlink:
|
||
|
<a class="pagination-item older" href="${nextlink}">Older</a>
|
||
|
%endif
|
||
|
%endif
|
||
|
</div>
|
||
|
</%def>
|