blog: show abstract in listing, content on post

This commit is contained in:
Nico Schottelius 2019-09-25 00:39:20 +09:00
commit 9906c3e183
2 changed files with 6 additions and 0 deletions

View file

@ -15,6 +15,10 @@
{% endif %}
on {{ post.pub_date }}
</p>
{% if from_index %}
{{ post.abstract }}
{% else %}
{{ post.body }}
{% endif %}
</div>
{% endmacro %}