Move into partials

This commit is contained in:
Oliver Davies 2018-09-04 21:04:25 +01:00
parent f6f9f16900
commit de2818eee3
3 changed files with 17 additions and 18 deletions

View file

@ -0,0 +1,9 @@
{% if post.summary %}
{{ post.summary|markdown }}
{% include 'pages/blog/read-more' %}
{% elseif post.blocks.excerpt %}
{{ post.blocks.excerpt|markdown }}
{% include 'pages/blog/read-more' %}
{% else %}
{{ post.blocks.content|markdown }}
{% endif %}