{% extends 'news/base.html' %} {% load staticfiles seo_tags %} {% block seo %} {% seo post_list.first.category %} {% endblock seo %} {% block posts %}
{% for post in post_list %}
    {% if post.author %}
  • {{ post.author }}
  • {% endif %}
  • {{ post.published_date|date:"d M, Y" }}
  • {{ post.viewed }} Просмотров
  • {{ post.comments_set.all.count }} Комментариев
{% if post.image %} {{ post.image.captions }} {% else %} {% endif %}

{{ post.title }}

{{ post.mini_text|safe }}

Читать
{% endfor %} {% include 'base/includes/pagination.html' %}
{% endblock posts %}