You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!-- Pagination links - copied from http://jekyllrb.com/docs/pagination/ -->
|
|
|
|
{% if paginator.total_pages > 1 %}
|
|
|
|
<br />
|
|
|
|
<div class="pagination">
|
|
|
|
{% if paginator.previous_page %}
|
|
|
|
<a href="{{ paginator.previous_page_path | replace: '//', '/' }}">« Prev</a>
|
|
|
|
{% else %}
|
|
|
|
<span>« Prev</span>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% for page in (1..paginator.total_pages) %}
|
|
|
|
{% if page == paginator.page %}
|
|
|
|
<em>{{ page }}</em>
|
|
|
|
{% elsif page == 1 %}
|
|
|
|
<a href="{{ '/blog' }}">{{ page }}</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ site.paginate_path | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% if paginator.next_page %}
|
|
|
|
<a href="{{ paginator.next_page_path | replace: '//', '/' }}">Next »</a>
|
|
|
|
{% else %}
|
|
|
|
<span>Next »</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
{% endif %}
|