{% extends "base.html" %} {% block content %} {% if posts %} {% for post in posts %} {{ post.title }} (#{{ post.id }}) {{ post.text }}