Issue #2: Hide the latest posts block on the Blog page
This commit is contained in:
parent
be2d8d0bec
commit
ac7a89f4d3
|
@ -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 %}
|
Loading…
Reference in a new issue