blog: show abstract in listing, content on post

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

View file

@ -147,3 +147,5 @@ project](https://code.ungleich.ch/ungleich-public/dynamicweb/).
If you want to join the discussion about this, I invite you to our
open chat on [chat.ungleich.ch](https://chat.ungleich.ch).
And next in this blog: how to use it ;-)

View file

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