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

<div class="posts">
  {% for post in paginator.posts %}
    <div class="post index-post" onclick="window.location.href='reflections{{ post.url }}';">
      <h1 class="post-title">
        <a href="reflections{{ post.url }}">
          {{ post.title }}
        </a>
      </h1>

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

      {{ post.content | strip_html | truncatewords:150 }}
      <br><br>
      <a href="reflections{{ post.url }}">Keep reading...</a>
    </div>
  {% endfor %}
</div>

<div class="pagination">
  {% if paginator.next_page %}
    <a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a>
  {% else %}
    <span class="pagination-item older">Older</span>
  {% endif %}
  {% if paginator.previous_page %}
    {% if paginator.page == 2 %}
      <a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
    {% else %}
      <a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a>
    {% endif %}
  {% else %}
    <span class="pagination-item newer">Newer</span>
  {% endif %}
</div>

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

<div class="posts">
  {% for post in paginator.posts %}
    <div class="post index-post" onclick="window.location.href='{{ post.url }}';">
      <h1 class="post-title">
        <a href="{{ post.url }}">
          {{ post.title }}
        </a>
      </h1>

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

      {{ post.content | strip_html | truncatewords:150 }}
      <br><br>
      <a href="{{ post.url }}">Keep reading...</a>
    </div>
  {% endfor %}
</div>

<div class="pagination">
  {% if paginator.next_page %}
    <a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a>
  {% else %}
    <span class="pagination-item older">Older</span>
  {% endif %}
  {% if paginator.previous_page %}
    {% if paginator.page == 2 %}
      <a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
    {% else %}
      <a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a>
    {% endif %}
  {% else %}
    <span class="pagination-item newer">Newer</span>
  {% endif %}
</div>

Revert "Links should work on github, but not locally"
Revert "Links should work on github, but not locally"

This reverts commit be883efa2df4cc32625071e6df3f9ac863f5ed9c.
