{% load djangocms_stories i18n easy_thumbnails_tags cms_tags %}

{% render_model category "name" %}

{% if image and category.main_image %}
{% thumbnail post.main_image post.thumbnail_options.size crop=post.thumbnail_options.crop upscale=post.thumbnail_options.upscale subject_location=post.main_image.subject_location as thumb %} {{ post.main_image.default_alt_text }}
{% endif %}
{% if not TRUNCWORDS_COUNT %} {% render_model category "abstract" "" "" "safe" %} {% else %} {% render_model category "abstract" "" "" "truncatewords_html:TRUNCWORDS_COUNT|safe" %} {% endif %}
{% for post in category.blog_posts.all %}
{% render_model post "title" %}
{% endfor %}