-
{% for category in article.categories.all %}
{{ category.name }}{% if not forloop.last %}, {% endif %}
{% endfor %}
{{ article.title }}
{{ article.lead_in|striptags|truncatewords:"10"|safe }}
{% empty %}
{% if query %}
{% blocktrans with query=query %}Most recent articles containing "{{ query }}"{% endblocktrans %}
{% for article in object_list %}{% blocktrans with query=query %}No articles found{% endblocktrans %}
{% else %}{% trans "Enter a query above" %}
{% endif %} {% endfor %}