Issue #2: Spaces

This commit is contained in:
Oliver Davies 2015-04-01 00:04:48 +01:00
parent b4246bec69
commit 36e337feda

View file

@ -1,9 +1,9 @@
{% if data.posts %} {% if data.posts %}
<h2>Latest Posts</h2> <h2>Latest Posts</h2>
<ul> <ul>
{% for post in data.posts | slice(0,5) %} {% for post in data.posts | slice(0,5) %}
<li{% if page.url == post.url %} class="active"{% endif %}><a href="{{ post.url }}">{{ post.title }}</a></li> <li{% if page.url == post.url %} class="active"{% endif %}><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}