diff --git a/app/templates/base.html b/app/templates/base.html index 7855ad9..bf24a62 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -19,6 +19,8 @@ {% for message in messages %}
  • {{ message }}
  • {% endfor %} + {% endif %} + {% endfor %} {% block content %}{% endblock %} diff --git a/app/templates/index.html b/app/templates/index.html index 8a7c7cd..2d04bad 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -5,6 +5,6 @@

    Hello, {{ user.username }}!

    {% for post in posts %}

    {{ post.author.username }} says: {{ post.body }}

    - {% endfor %} + {% endfor %} {% endblock %} \ No newline at end of file