---
layout: default
---
{% if page.series %}
{% assign foundThis = false %}
{% for post in site.posts reversed %}
{% if post.series == page.series %}
{% if post.url == page.url %}
{% assign foundThis = true %}
{% elsif foundThis %}
{% assign next = post %}
{% break %}
{% else %}
{% assign prev = post %}
{% endif %}
{% endif %}
{% endfor %}
{% if prev or next %}
This post is part of a series:
{% if prev %}
Previously: {{ prev.title }}
{% endif %}
{% if next %}
Next: {{ next.title }}
{% endif %}
{% endif %}
{% endif %}
{{ content }}
{% if page.git_repo %}
To check this project out locally:
git clone {{ page.git_repo }}
{% if page.git_commit %}git checkout {{ page.git_commit }}{% endif %}
{% endif %}
{% if prev or next %}
If you liked this post, consider checking out other posts in the series:
{% if prev %}
Previously: {{ prev.title }}
{% endif %}
{% if next %}
Next: {{ next.title }}
{% endif %}
{% endif %}