{% extends 'base.html' %} {% load i18n %} {% block content %}
{% for actu in object_list %}

{{ actu.title }}

{% if actu.image %} {{ actu.title }} {% endif %} {% if actu.excerpt %} {{ actu.excerpt|truncatewords_html:40|safe }} {% else %} {{ actu.story|truncatewords_html:40|safe }} {% endif %}

{% trans "Read more" %}

{% trans "Posted on" %} {{actu.date_pub|date:"d E Y"}} {% if actu.categories.exists %} {% trans "in categories" %} {% for category in actu.categories.all %}{{category.name}} {% if not forloop.last %}, {% endif %} {% endfor %}{% endif %}

{% empty %}

{% trans "No posts found." %}

{% endfor %}
{% endblock %}