{{ post.title }}
{% if session_user_id.as_ref() == Some(post.author_id) %}
{% endif %}
Edit post
{{ post_html | safe }}