From b5ce0a786a1fac846e3de4e7dfe8ea4a27d81f2b Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 21 Apr 2020 19:18:06 +0100 Subject: Improve legibility of textual content --- app/templates/base.html | 2 +- app/templates/flatpage.html | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'app/templates') diff --git a/app/templates/base.html b/app/templates/base.html index 6a74725..ff2b0fb 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -7,7 +7,7 @@ {% block title %}title{% endblock %} - {{ config.USER_APP_NAME }} - + diff --git a/app/templates/flatpage.html b/app/templates/flatpage.html index 5143f57..05acb91 100644 --- a/app/templates/flatpage.html +++ b/app/templates/flatpage.html @@ -4,8 +4,10 @@ {{ page['title'] }} {% endblock %} -{% block content %} - {% if not page["no_h1"] %}

{{ page['title'] }}

{% endif %} +{% block container %} +
+ {% if not page["no_h1"] %}

{{ page['title'] }}

{% endif %} - {{ page.html | safe }} + {{ page.html | safe }} +
{% endblock %} -- cgit v1.2.3