diff --git a/app/templates/base.html b/app/templates/base.html index 8075e2e..302b54f 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -22,6 +22,25 @@ + {% with messages = get_flashed_messages() %} + {% if messages %} + + {% endif %} + {% endwith %} + {% block body %}{% endblock %} +
+ Microblog: + Home + {% if current_user.is_anonymous %} + Login + {% else %} + Logout + {% endif %} +