---
layout: head.html
---
{{ title }}
{% assign postCheck = collections.posts | getCollectionItem %}
{% if postCheck %}
{% endif %}
{{ content }}
{% if page.url == '/' and collections.posts%}
Latest Posts:
{% assign latest_posts = collections.posts | reverse | getLatestFive %}
{% for i in latest_posts %}
-
{{ i.date | dateFormat }} - {{ i.data.title }}
{% endfor %}
{% endif %}
{% assign previousPost = collections.posts | getPreviousCollectionItem %}
{% assign nextPost = collections.posts | getNextCollectionItem %}
{% if previousPost or nextPost %}
{% endif %}
{% if postCheck %}
{% include "comments.html" %}
{% endif %}