diff options
Diffstat (limited to 'website/app/templates/base.html')
-rw-r--r-- | website/app/templates/base.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/website/app/templates/base.html b/website/app/templates/base.html new file mode 100644 index 0000000..5520493 --- /dev/null +++ b/website/app/templates/base.html @@ -0,0 +1,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> |