{% extends "fluent_blogs/base_internal.html" %} {% load i18n fluent_blogs_tags %} {% comment %} This is the central template for archive pages. The layout can be customized easily by overwriting the included templates. Each archive also has an individual template, they all extend this template. {% endcomment %} {% block meta-description %}{% trans "Latest entries" %}{% endblock %} {% block link %} {{ block.super }} {% if category %}{% endif %} {% if tag %}{% endif %} {% if author %}{% endif %} {% endblock %} {% block title %} {% trans "Latest entries" %} {% if category %}| {% blocktrans with category=category %}Category {{ category }}{% endblocktrans %}{% endif %} {% if tag %}| {% blocktrans with tag=tag %}Tag {{ tag }}{% endblocktrans %}{% endif %} {% if author %}| {% blocktrans with author_name=author.get_full_name|default:author.username %}Author {{ author_name }}{% endblocktrans %}{% endif %} {% if page_obj and page_obj.number != 1 %} | {% blocktrans with number=page_obj.number %}Page {{ number }}{% endblocktrans %}{% endif %} {% endblock %} {% block content %} {% block content_title %} {% if category %}

{{ category }}

{% endif %} {% if tag %}

{% blocktrans with tag=tag %}Tag {{ tag }}{% endblocktrans %}

{% endif %} {% if author %}

{% blocktrans with author.get_full_name|default:author.username as author_name %}Entries by {{ author_name }}{% endblocktrans %}

{% endif %} {% if category and category.description %}

{{ category.description|striptags|safe }}

{% endif %} {% endblock %} {% block object_list %}
{% for object in object_list %}
{% include "fluent_blogs/entry_archive/item.html" %}
{% empty %} {% include "fluent_blogs/entry_archive/empty.html" %} {% endfor %}
{% endblock %} {% block pagination %} {% if is_paginated %} {% include "fluent_blogs/entry_archive/pagination.html" %} {% endif %} {% endblock %} {% endblock %}