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> <h1>Blog</h1>
<ul> {% for post in page.pagination.items %}
{% for post in page.pagination.items %} <article class="post"></article>
<li><a href="{{ post.url }}">{{ post.title }}</a></li> <h2>{{ post.title }}</h2>
{% endfor %} {% if post.blocks.excerpt %}
</ul> {{ post.blocks.excerpt | raw }}
{% endif %}
</article>
{% endfor %}