summaryrefslogtreecommitdiff
path: root/app/templates/base.html
blob: 55204931055145d94699e3b9d427797fc381b2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to">

        {% if title %}
        <title>{{ title }}</title>
        {% else %}
        <title>Blendoit</title>
        {% endif %}
    </head>
    <body>
        {% with messages = get_flashed_messages(with_categories=true) %}
        {% if messages %}
        {% for message in messages %}
        <div class="alert">
            {{ message }}
        </div>
        {% endfor %}
        {% endif %}
        {% endwith %}

        {% block content %}{% endblock %}
    </body>
</html>
Copyright 2019--2024 Marius PETER