{% extends "base.html" %} {% block content %} {% if pages %} Blog posts {% for page in pages %} {{ page.title }} {% endfor %} {% endif %} {% endblock content %}