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

Blog posts

    {% for page in pages %}
  1. {{ page.title }}
  2. {% endfor %}
{% endif %} {% endblock content %}