move edits to the top of the post

This commit is contained in:
Felipe M 2024-04-29 22:59:32 +02:00
parent 9a08321b37
commit 4c6912edd0
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8

View file

@ -7,6 +7,11 @@
</div>
{% if include_content %}
<div class="content">
{% if not from_index and post.edit_comment %}
<h3>Edits</h3>
{{ post.edit_comment }}
<hr />
{% endif %}
{% if from_index and summary|length > 1 %}
{{ summary[0] }}
<p class="text-right"><a href="{{ post|url }}">Read more &raquo;</a></p>
@ -14,10 +19,6 @@
{{ post.body }}
{% endif %}
</div>
{% if not from_index and post.edit_comment %}
<h3>Edits</h3>
{{ post.edit_comment }}
{% endif %}
{% endif %}
<hr />
</article>