---
layout: default
title: Home
---

<div class="posts">
  {% for post in paginator.posts %}
  <div class="post">
    <h1 class="post-title">
      {{ post.title }}
    </h1>

    <span class="post-date">{{ post.date | date_to_string }}</span>

    {{ post.content }}
  </div>
  {% endfor %}
</div>

<div class="pagination">
  {% if paginator.previous_page %}
    <a class="pagination-item older" href="{{ paginator.previous_page_path }}">Newer Posts</a>
  {% else %}
    <span class="pagination-item older">Newer Posts</span>
  {% endif %}
  {% if paginator.next_page %}
    <a class="pagination-item newer" href="{{ paginator.next_page_path }}">Older Posts</a>
  {% else %}
    <span class="pagination-item newer">Older Posts</span>
  {% endif %}
</div>
