Always show excerpt block on blog page

This commit is contained in:
Oliver Davies 2018-03-12 19:26:05 +00:00
parent c0e4947b5b
commit f4c77445c0

View file

@ -20,7 +20,7 @@ use: [posts]
{% include 'post/intro-image' with { page: post } %} {% include 'post/intro-image' with { page: post } %}
<div class="mb-4"> <div class="mb-4">
{% if post.blocks.excerpt %} {% if post.blocks.excerpt is defined %}
{{ post.blocks.excerpt|markdown }} {{ post.blocks.excerpt|markdown }}
{% else %} {% else %}
{{ post.blocks.content|markdown }} {{ post.blocks.content|markdown }}