{% extends "base.html" %} {% block main %} {% for post in posts %} {{ post.get_title() }} {% endfor %}