{% load thumbnail crop_util %}
{% for post in posts %} {% if post.status != "deleted" %} {% thumbnail post.first_photo|get_override:"landscape_crop" "200x150" crop="center" as im %}
{{ post }} {% if request.user.is_superuser or request.user == post.user %} {% endif %}
{{ post.publish_dt|date:"M j, Y" }} by {{ post.user }}
{{ post.get_short_content|truncatewords:50 }}
read more >
{% endthumbnail %} {% endif %} {% endfor %}