{% load thumbnail short_codes crop_util %}
{% for tag in post.tags %} {{ tag.name|upper }} {% if not forloop.last %}/{% endif %} {% endfor %}

{% filter striptags|truncatewords:30 %}{% firstof post.title "Untitled" %}{% endfilter %}

{% if post.user == user %} {{ post.status }} {% endif %} by {{ post.user.username }} {% if post.status == 'published' %}on {{ post.publish_dt }}{% endif %} {% if request.user.is_superuser or request.user == post.user %} {% endif %}
{% if truncate_posts %}
{% thumbnail post.photo|get_override:"square_crop" "200x200" as im %} {% endthumbnail %} {{ post.content|explosivo|truncatewords_html:50 }} Read More
{% else %}
{% thumbnail post.photo|get_override:"square_crop" "300x300" as im %} {% endthumbnail %}

{{ post.content|explosivo }}

{% endif %}