{% extends "djangocms_blog/base.html" %} {% load i18n %} {% load easy_thumbnails_tags %} {% load cms_tags %} {% load menu_tags %} {% block title_tag %}{{ meta.title }}{% endblock title_tag %} {% block seo_meta_tags %} {% include "djangocms_blog/partials/seo_meta_tags.html" %} {% endblock seo_meta_tags %} {% block cms_title %} {% if not post.publish %}{% trans "Unpublished" %}{% endif %}

{% render_model post "title" %} {% if post.subtitle %} {% render_model post "subtitle" %} {% endif %}

{% endblock cms_title %} {% block cms_breadcrumb %} {% endblock cms_breadcrumb %} {% block content_blog %}

{% render_model post "title" %}

{% block blog_meta %} {% include "djangocms_blog/includes/blog_meta.html" %} {% endblock %}
{% if not post.main_image_id %}
{% render_placeholder post.media %}
{% else %}
{% 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 %} {% 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 %}