From baae73dc43d1797fb57afb287d9c124010fb932e Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Fri, 9 Jun 2023 14:14:12 +0200 Subject: [PATCH] Fix crossing body tag --- templates/base.html | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/templates/base.html b/templates/base.html index 7e71e47..4283add 100644 --- a/templates/base.html +++ b/templates/base.html @@ -35,22 +35,22 @@ {% endfor %} +
+ {% block content %} +
+ {% if section %} + {{ section.content | safe }} + {% elif page %} + {{ page.content | safe }} + {% endif %} +
+ {% endblock content %} +
+ -
- {% block content %} -
- {% if section %} - {{ section.content | safe }} - {% elif page %} - {{ page.content | safe }} - {% endif %} -
- {% endblock content %} -
-