{% load i18n staticfiles thumbnail cms_tags apphooks_config_tags %}
{# The image is only shown on the detail view by using the condition "and detail_view" #} {% if article.featured_image_id and detail_view %}

{{ article.featured_image.alt }}

{% endif %} {% if article.categories.exists %}

{% for category in article.categories.all %} {{ category.name }} {% if not forloop.last %}, {% endif %} {% endfor %}

{% endif %}

{% if not detail_view %} {% render_model article "title" %} {% else %} {% render_model article "title" %} {% endif %}

{{ article.publishing_date|date }}

{% include "aldryn_newsblog/includes/author.html" with author=article.author %} {% if article.tags %}

{% for tag in article.tags.all %} {{ tag.name }} {% endfor %}

{% endif %} {% render_model article "lead_in" %} {% if detail_view %} {% render_placeholder article.content language placeholder_language %} {% endif %}