forked from leopardpan/leopardpan.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pagination.html
executable file
·16 lines (13 loc) · 1.05 KB
/
pagination.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<hr class="post-list__divider " />
<nav class="pagination" role="navigation">
<!-- 百度搜索 -->
<script type="text/javascript">(function(){document.write(unescape('%3Cdiv id="bdcs"%3E%3C/div%3E'));var bdcs = document.createElement('script');bdcs.type = 'text/javascript';bdcs.async = true;bdcs.src = 'http://znsv.baidu.com/customer_search/api/js?sid=12441349038163667913' + '&plate_url=' + encodeURIComponent(window.location.href) + '&t=' + Math.ceil(new Date()/3600000);var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(bdcs, s);})();
</script>
{% if paginator.previous_page %}
<a class="newer-posts pagination__newer btn btn-small btn-tertiary" href="{{ paginator.previous_page_path }}#blog">← 最近</a>
{% endif %}
<span class="pagination__page-number">{{ paginator.page }} / {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="older-posts pagination__older btn btn-small btn-tertiary" href="{{ paginator.next_page_path }}#blog">更早 →</a>
{% endif %}
</nav>