{% extends 'blog/base.html' %} {% block content %} {% for post in posts %}

{{ post.title }}

{{ post.content|truncatewords:30 }}

{% endfor %} {% endblock %}