{% extends "base.html" %} {% block content %} {% if posts %}

All posts

    {% for post in posts %}

  1. {{ post.title }}
  2. {% endfor %}
{% else %}

No posts found

{% endif %} {% endblock %}