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 | |
| parent | d58579d30876aa47a5e73ffc14707bb752020302 (diff) | |
| download | cheatdb-b5ce0a786a1fac846e3de4e7dfe8ea4a27d81f2b.tar.xz | |
Improve legibility of textual content
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/base.html | 2 | ||||
| -rw-r--r-- | app/templates/flatpage.html | 8 |
2 files changed, 6 insertions, 4 deletions
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 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% block title %}title{% endblock %} - {{ config.USER_APP_NAME }}</title> <link rel="stylesheet" type="text/css" href="/static/bootstrap.css"> - <link rel="stylesheet" type="text/css" href="/static/custom.css?v=10"> + <link rel="stylesheet" type="text/css" href="/static/custom.css?v=11"> <link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" /> <link rel="shortcut icon" href="/favicon-16.png" sizes="16x16"> <link rel="icon" href="/favicon-128.png" sizes="128x128"> 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 %} |
