From 4c6912edd00551f759430883d4495007db9938a5 Mon Sep 17 00:00:00 2001 From: "Felipe M." Date: Mon, 29 Apr 2024 22:59:32 +0200 Subject: [PATCH] move edits to the top of the post --- templates/macros/blog.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/macros/blog.html b/templates/macros/blog.html index 643f88a..eb3c197 100644 --- a/templates/macros/blog.html +++ b/templates/macros/blog.html @@ -7,6 +7,11 @@ {% if include_content %}
+ {% if not from_index and post.edit_comment %} +

Edits

+ {{ post.edit_comment }} +
+ {% endif %} {% if from_index and summary|length > 1 %} {{ summary[0] }}

Read more »

@@ -14,10 +19,6 @@ {{ post.body }} {% endif %}
- {% if not from_index and post.edit_comment %} -

Edits

- {{ post.edit_comment }} - {% endif %} {% endif %}