{% extends "news/base_news.html" %} {% load custom_date %} {% load pagination_tags %} {% block title %}Post archive for {{ day|date:"d F Y" }}{% endblock %} {% block body_class %}{{ block.super }} post_archive_day{% endblock %} {% block content %} {% include "django_messages/inlines/navigation.html" %}

Archiv {{ day|date:"F" }} {% autopaginate object_list 10 %} {% paginate %}

{% for object in object_list %} {% include "news/inlines/post_detail.html" %}
{% endfor %}
{% if page_obj.has_other_pages %}
{% paginate %}
{% endif %}
{% endblock %}