23 lines
731 B
HTML
23 lines
731 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
{% assign index = true %}
|
|
{% for post in paginator.posts %}
|
|
{% assign content = post.content %}
|
|
<article class="post">{% include article.html %}</article>
|
|
{% endfor %}
|
|
<nav id="pagenavi">
|
|
{% if paginator.previous_page %}
|
|
{% if paginator.previous_page == 1 %}
|
|
<a href="{{ root_url }}/" class="prev">Prev</a>
|
|
{% else %}
|
|
<a href="{{ root_url }}/posts/{{paginator.previous_page}}" class="prev">Prev</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if paginator.next_page %}
|
|
<a href="{{ root_url }}/posts/{{paginator.next_page}}" class="next">Next</a>
|
|
{% endif %}
|
|
<div class="center"><a href="{{ root_url }}/archives">Blog Archives</a></div>
|
|
</nav>
|