Moved everything out of the theme

This commit is contained in:
Oliver Davies 2015-05-25 10:13:17 +01:00
parent 347fe76db6
commit f20fba6dbf
27 changed files with 4 additions and 6 deletions

View file

@ -0,0 +1,11 @@
{% if data.posts %}
<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 %}