{{ post.title }}
{% if session_user_id.as_ref() == Some(post.author_id) %}
{% endif %}
{% if let Some(modified) = post.last_modified %}
Last modified on {{ modified.format("%B %d, %Y") }} at {{ modified.format("%H:%M") }}
{% endif %}
Edit post
{{ post_html | safe }}