{% extends "blog/base.html" %} {% block title %}Mój blog{% endblock %} {% block content %}

Mój blog

{% for post in posts %}

{{ post.title }}

Opublikowany {{ post.publish }} przez {{ post.author }}

{{ post.body|truncatewords:30|linebreaks }} {% endfor %} {% include "pagination.html" with page=page_obj %} {% endblock %}