diff options
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 %} |
