Added blog.html.twig

This commit is contained in:
Oliver Davies 2015-03-16 11:16:42 +00:00
parent ba30d82221
commit acc6c64b42

14
source/blog.html.twig Normal file
View file

@ -0,0 +1,14 @@
---
layout: default
title: Blog
use: [posts]
---
<h1>Blog</h1>
{% if data.posts %}
<ul>
{% for post in data.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% endif %}