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

Archiv {{ month|date:"Y" }} {% for day in object_list %} {% endfor %} {% 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 %}