Show excerpt text

This commit is contained in:
Oliver Davies 2015-06-15 09:47:03 +01:00
parent 6e03de00a4
commit 41d0b9dac4

View file

@ -10,8 +10,11 @@ use:
---
<h1>Blog</h1>
<ul>
{% for post in page.pagination.items %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
{% for post in page.pagination.items %}
<article class="post"></article>
<h2>{{ post.title }}</h2>
{% if post.blocks.excerpt %}
{{ post.blocks.excerpt | raw }}
{% endif %}
</article>
{% endfor %}