move edits to the top of the post
This commit is contained in:
parent
9a08321b37
commit
4c6912edd0
1 changed files with 5 additions and 4 deletions
|
@ -7,6 +7,11 @@
|
||||||
</div>
|
</div>
|
||||||
{% if include_content %}
|
{% if include_content %}
|
||||||
<div class="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 %}
|
{% if from_index and summary|length > 1 %}
|
||||||
{{ summary[0] }}
|
{{ summary[0] }}
|
||||||
<p class="text-right"><a href="{{ post|url }}">Read more »</a></p>
|
<p class="text-right"><a href="{{ post|url }}">Read more »</a></p>
|
||||||
|
@ -14,10 +19,6 @@
|
||||||
{{ post.body }}
|
{{ post.body }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if not from_index and post.edit_comment %}
|
|
||||||
<h3>Edits</h3>
|
|
||||||
{{ post.edit_comment }}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<hr />
|
<hr />
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue