{% extends "base.html" %} {% load i18n blogpost %} {% block content %}

{% trans "Blog" %} {% if category %}- {{ category.name }}{% endif %}

{% if category %}
{{ category.content }}
{% endif %} {% if object_list %} {% for object in object_list %} {% if forloop.counter|divisibleby:"2" %} {% blogpost_list_item object %} {% else %} {% blogpost_list_item object %} {% endif %} {% endfor %} {% if paginator.num_pages > 1 %} {% endif %} {% else %}

{% trans "No posts yet.." %}

{% endif %} {% endblock %}