<div class="posts">
{% for post in paginator.posts %}
- <article class="post">
+ <div class="post">
<h1 class="post-title">
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
- <time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date_to_string }}</time>
+ <span class="post-date">{{ post.date | date_to_string }}</span>
{{ post.content }}
- </article>
+ </div>
{% endfor %}
</div>
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
- <a class="pagination-item newer" href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer</a>
+ {% if paginator.page == 2 %}
+ <a class="pagination-item newer" href="{{ site.baseurl }}/">Newer</a>
+ {% else %}
+ <a class="pagination-item newer" href="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer</a>
+ {% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}