Issue #2: Spaces
This commit is contained in:
parent
b4246bec69
commit
36e337feda
|
@ -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 %}
|
Reference in a new issue