diff options
author | blendoit <blendoit@gmail.com> | 2020-01-22 18:17:38 -0800 |
---|---|---|
committer | blendoit <blendoit@gmail.com> | 2020-01-22 18:17:38 -0800 |
commit | 6256335ef802e2823ac0118c01c7fe31e38e7287 (patch) | |
tree | f4d1633da886db94b450b70252ac935594ce73b8 /app/templates/base.html | |
parent | 2f1d0719faa0d955a82e87c0ea022f458e1c699f (diff) |
Second commit.
Diffstat (limited to 'app/templates/base.html')
-rw-r--r-- | app/templates/base.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html new file mode 100644 index 0000000..5520493 --- /dev/null +++ b/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> |