{% load djangocms_stories i18n easy_thumbnails_tags cms_tags %}

{{ post_content.title }}

{% if post_content.subtitle %}

{{ post_content.subtitle }}

{% endif %} {% block blog_meta %} {% include "djangocms_stories/includes/blog_meta.html" %} {% endblock %}
{% if image and post_content.post.main_image %}
{% thumbnail post_content.post.main_image post_content.post.thumbnail_options.size crop=post_content.post.thumbnail_options.crop upscale=post_content.post.thumbnail_options.upscale subject_location=post_content.post.main_image.subject_location as main_image %} {% if main_image %} {{ post_content.main_image.default_alt_text|default:'' }} {% else %} {{ post_content.main_image.default_alt_text|default:'' }} {% endif %}
{% else %} {% media_images post_content as previews %}
{% for preview in previews %}{% endfor %}
{% endif %}
{% if not TRUNCWORDS_COUNT %} {% render_model post_content "abstract" "" "" "safe" %} {% else %} {% render_model post_content "abstract" "" "" "truncatewords_html:TRUNCWORDS_COUNT|safe" %} {% endif %}