{{ post['title'] }} by {{ post.author.username }} on {{ post.created.strftime('%Y-%m-%d') }} {% if g.user['id'] == post['author_id'] %} Edit {% endif %} {{ post['body'] }}