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

Recent Posts

{% comment %} here is where the query happens {% endcomment %} {% for post in posts %}

{{ post }}

Posted by {{ post.author_name }} — {{ post.published_date }}

{{ post.text }}
{% endfor %} {% endblock %}