francescomecca.eu/themes/cayman/templates/index_helper.tmpl

27 lines
676 B
Cheetah
Raw Normal View History

2018-11-10 18:19:00 +01:00
<%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>