diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-04-21 19:18:06 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-04-21 19:18:06 +0100 |
| commit | b5ce0a786a1fac846e3de4e7dfe8ea4a27d81f2b (patch) | |
| tree | 84f65aa842c7cd233145c9103e0dd578f04cb0df /app/templates/flatpage.html | |
| parent | d58579d30876aa47a5e73ffc14707bb752020302 (diff) | |
| download | cheatdb-b5ce0a786a1fac846e3de4e7dfe8ea4a27d81f2b.tar.xz | |
Improve legibility of textual content
Diffstat (limited to 'app/templates/flatpage.html')
| -rw-r--r-- | app/templates/flatpage.html | 8 |
1 files changed, 5 insertions, 3 deletions
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"] %}<h1>{{ page['title'] }}</h1>{% endif %} +{% block container %} + <main class="container mt-4 content"> + {% if not page["no_h1"] %}<h1>{{ page['title'] }}</h1>{% endif %} - {{ page.html | safe }} + {{ page.html | safe }} + </main> {% endblock %} |
