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