Issue #2: Hide the latest posts block on the Blog page

This commit is contained in:
Oliver Davies 2015-04-01 00:07:25 +01:00
parent be2d8d0bec
commit ac7a89f4d3

View file

@ -5,6 +5,7 @@ nav: blog
use:
- posts
---
{% block content %}
<h1>Blog</h1>
{% if data.posts %}
@ -13,4 +14,7 @@ use:
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
{% endblock %}
{% block sidebar %}{% endblock %}