{% with post=post_resource.post %} {% if post.published_at %}

By {{ post.author }} {{ (post.published_at or post.created_at)|friendly_time }}. {% include "blog/tags_line.html" %}

{% else %}

This post is a draft.

{% endif %} {% endwith %}