{% if let Some(title) = post.title %}{{ title }}{% else %}Details{% endif %}

{% match post.media_type.as_ref() %}{% when "image" %} {% when "video" %} {% else %}{% endmatch %}{% if let Some(description) = post.description %}

Description

{{ description | markdown }}
{% endif %}