{% load base_tags %} {% load perm_tags %} {% has_perm request.user stories.change_story story as can_edit %}

{% firstof story.title "Untitled" %}

{% if story.image %}

{% blocktrans with t=story.title|truncatechars:123 %}{{ t }}{% endblocktrans %}

{% endif %}

{% blocktrans with c=story.content|striptags|truncatewords:20|safe %}{{ c }}{% endblocktrans %} {% if can_edit %}

{% endif %}