28 lines
780 B
HTML
28 lines
780 B
HTML
---
|
|
layout: nil
|
|
is_index: true
|
|
---
|
|
|
|
|
|
{% include header.html %}
|
|
{% for post in paginator.posts %}
|
|
{% include post.html %}
|
|
{% endfor %}
|
|
|
|
<div class="pagination" id="bottom_page">
|
|
<ul>
|
|
{% if paginator.previous_page %}
|
|
{% if paginator.previous_page == 1 %}
|
|
<li class="previous"><a href="{{ linkhome }}">← Previous</a></li>
|
|
{% else %}
|
|
<li class="previous"><a href="{{ site.baseurl }}/page{{ paginator.previous_page }}">← Previous</a></li>
|
|
{% endif %}
|
|
{% endif %}
|
|
<li><p>Page {{ paginator.page }} of {{ paginator.total_pages }}</p></li>
|
|
{% if paginator.next_page %}
|
|
<li class="next"><a href="{{ site.baseurl }}/page{{ paginator.next_page }}">Next →</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
|
|
{% include footer.html %}
|