{% extends "djangocms_blog/base.html" %} {% load i18n easy_thumbnails_tags cms_tags %} {% block canonical_url %}{% endblock canonical_url %} {% block title %}{{ post.get_title }}{% endblock %} {% block content_blog %}{% spaceless %}

{% render_model post "title" %}

{% if post.subtitle %}

{% render_model post "subtitle" %}

{% endif %} {% block blog_meta %} {% include "djangocms_blog/includes/blog_meta.html" %} {% endblock %}
{% if post.main_image_id %}
{% thumbnail post.main_image post.full_image_options.size crop=post.full_image_options.crop upscale=post.full_image_options.upscale subject_location=post.main_image.subject_location as thumb %} {{ post.main_image.default_alt_text }}
{% endif %} {% endspaceless %} {% if post.app_config.use_placeholder %}
{% render_placeholder post.content %}
{% else %}
{% render_model post "post_text" "post_text" "" "safe" %}
{% endif %} {% if view.liveblog_enabled %} {% include "liveblog/includes/post_detail.html" %} {% endif %} {% if post.related.exists %}
{% for related in post.related.all %} {% include "djangocms_blog/includes/blog_item.html" with post=related image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} {% endfor %}
{% endif %}
{% endblock content_blog %}