{{ post.title }}
{{ post.author.username }} · {{ post.category.name }} · {{ post.created_at|date:"Y-m-d H:i" }}
{% if post.status == 'draft' %}这是一篇草稿,只有作者可以查看。
{% endif %} {% if user.pk == post.author_id %}{% endif %}{{ post.body|linebreaks }}
{{ post.author.username }} · {{ post.category.name }} · {{ post.created_at|date:"Y-m-d H:i" }}
{% if post.status == 'draft' %}这是一篇草稿,只有作者可以查看。
{% endif %} {% if user.pk == post.author_id %}{% endif %}