{% extends "base.html" %} {% load i18n %} {% load blog %} {% block title %}{% trans 'Post list' %}{% endblock %} {% block content %} {% for post in post_list %}

{{ post.title }}

{{ post.content }}

{% trans 'Posted on' %} {{ post.pub_date|date:"Y M d" }} {% trans 'by' %} {{ post.author }}

{% endfor %} {% if page_obj.has_previous %} {% endif %} {% if page_obj.has_next %} {% endif %} {% endblock %}