From 0c6c836ebd5f76501e4f0e3244232a2d596c622c Mon Sep 17 00:00:00 2001 From: eclipse Date: Thu, 20 Feb 2025 22:18:32 +0100 Subject: [PATCH] changed main content display (div instead of article) --- theme/templates/article.html | 4 ++-- theme/templates/page.html | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/theme/templates/article.html b/theme/templates/article.html index 024ddd3..b774bdb 100644 --- a/theme/templates/article.html +++ b/theme/templates/article.html @@ -12,7 +12,7 @@ article.title }}{% endif {% endblock content_header %} {% block content_body %} -
+
{% if article.content | length is eq(0) %}
{% endif %} @@ -32,5 +32,5 @@ article.title }}{% endif
{% endif %} -
+ {% endblock content_body %} \ No newline at end of file diff --git a/theme/templates/page.html b/theme/templates/page.html index 1bc4547..1e0f272 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -10,8 +10,13 @@ {% endblock content_header %} {% block content_body %} -
{{ page.content }}
+
+{{ page.content }} +
{% endblock content_body %} {% block content_footer %} +{% if page.last_line is defined %} +

{{ page.last_line }}

+{% endif %} {% endblock content_footer %} \ No newline at end of file