From 502a3114a1c14d89dbc4f8e992fdc3ce305da0e8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 22 Feb 2024 19:14:39 +0000 Subject: [PATCH] nopaste: Correctly wrap the content into the section Signed-off-by: Michael Tremer --- src/templates/nopaste/view.html | 44 +++++++++++++++++---------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/src/templates/nopaste/view.html b/src/templates/nopaste/view.html index b0a88117..eaa8bde2 100644 --- a/src/templates/nopaste/view.html +++ b/src/templates/nopaste/view.html @@ -26,28 +26,30 @@ -
- {% if content %} -
- {% module Code(content) %} -
- {% elif entry.mimetype.startswith("image/") %} -
-
- -
-
- {% end %} +
+
+ {% if content %} +
+ {% module Code(content) %} +
+ {% elif entry.mimetype.startswith("image/") %} +
+
+ +
+
+ {% end %} - -
+
{% end block %} -- 2.47.3