This commit is contained in:
Oliver Davies 2015-06-14 03:27:41 +01:00
parent 1f815ba7bc
commit eb3dbc40bb
116 changed files with 1123 additions and 1123 deletions

View file

@ -1,11 +1,11 @@
{% if data.posts %}
<section class="latest-posts">
<h2>Latest Posts</h2>
<section class="latest-posts">
<h2>Latest Posts</h2>
<ul>
{% 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>
{% endfor %}
</ul>
</section>
{% endif %}
<ul>
{% 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>
{% endfor %}
</ul>
</section>
{% endif %}