{% extends "blog/blog_post_list.html" %} {% load mezzanine_tags comment_tags keyword_tags i18n future disqus_tags %} {% block meta_title %}{{ blog_post.meta_title }}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for blog_post as tags %} {% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ blog_post.description }} {% endmetablock %}{% endblock %} {% block title %}

{{ blog_post.title }}

{% endblock %} {% block breadcrumb_menu %} {{ block.super }} / {{ blog_post.title }} {% endblock %} {% block main %} {% block blog_post_detail_postedby %}

{% with blog_post.categories.all as categories %} {% if categories %} · {% for category in categories %} {{ category }}{% if not forloop.last %}, {% endif %} {% endfor %} {% endif %} {% endwith %} {% block blog_post_detail_commentlink %} {% if blog_post.allow_comments %} · {% if settings.COMMENTS_DISQUS_SHORTNAME %} {% spaceless %} {% trans "Comments" %} {% endspaceless %} {% else %}{% spaceless %} {% blocktrans count comments_count=blog_post.comments_count %}{{ comments_count }} comment{% plural %}{{ comments_count }} comments{% endblocktrans %} {% endspaceless %} {% endif %} {% endif %} {% endblock %} {% if user.is_superuser %} {# =todo: remove hardcoded URL to admin #} · {% trans "Edit" %} {% endif %}

{% endblock %} {% block blog_post_detail_featured_image %} {% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %}

{% endif %} {% endblock %} {% if settings.COMMENTS_DISQUS_SHORTNAME %} {% include "generic/includes/disqus_counts.html" %} {% endif %} {% block blog_post_detail_content %} {{ blog_post.content|richtext_filters|safe }}

{% endblock %} {% block blog_post_detail_keywords %} {% keywords_for blog_post as tags %} {% if tags %} {% spaceless %} {% endspaceless %} {% endif %} {% endblock %} {% block blog_post_detail_sharebuttons %} {% set_short_url_for blog_post %}

{% trans "Tw↗" %} {% trans "Fb↗" %}

{% endblock %} {% block blog_post_previous_next %} {% endblock %} {% block blog_post_detail_related_posts %} {% if blog_post.related_posts.all %} {% endif %} {% endblock %} {% block blog_post_detail_comments %} {% if blog_post.allow_comments %}{% comments_for blog_post %}{% endif %} {% endblock %} {% endblock %}