{% load i18n cms_tags thumbnail apphooks_config_tags %} {% load url from future %} {% block blog_visual %} {% if article.featured_image_id %}

{% if not detail_view %} {% endif %} {{ article.featured_image.alt }} {% if not detail_view %} {% endif %}

{% endif %} {% endblock %} {% block newsblog_categories %} {% if article.categories %}

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

{% endif %} {% endblock newsblog_categories %} {% block newsblock_title %}

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

{% endblock newsblock_title %} {% block newsblog_meta %} {% if not detail_view %}
{% render_model article "lead_in" "" "" "truncatewords:'20'" %}
{% endif %} {% include "aldryn_newsblog/includes/author.html" with author=article.author %} {% if article.tags %}

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

{% endif %} {% if detail_view %}
{% render_model article "lead_in" %}
{% endif %} {% endblock newsblog_meta %} {% block newsblog_content %} {% if detail_view %}
{% render_placeholder article.content language placeholder_language %}
{% endif %} {% endblock %}