{% load markup oembed attachments thumbnail %} {% load url from future %}
{% if post.title %}

{{ post.title }} {{ post.date|date }} {{ post.comments.live.count }}

{% endif %} {% with post.featured_attachment as thumbnail %} {% if thumbnail %} {% thumbnail thumbnail.file THUMBNAIL_WIDTH upscale=False as thumb %} {{ post.title }} {% endthumbnail %} {% endif %} {% endwith %}
{{ post.body|markdown|oembed|attachments:post }}
{% if single %}

Posted on {{ post.date|date }} by {{ post.author.get_full_name|default:post.author.username }} {% if post.categories.count > 0 %} in {% for category in post.categories.all %} {{ category.name }}{% if not forloop.last %}, {% endif %} {% endfor %} {% endif %} {% if post.tags.count > 0 %} and tagged {% for tag in post.tags.all %} {{ tag.name }}{% if not forloop.last %}, {% endif %} {% endfor %} {% endif %}

{% endif %}