View post #{{ post.id }}
{% match post.media_type.as_ref() %}{% when "image" %}{% include
"fragments/get_image_media.html" %}{% when "video" %}{% include
"fragments/get_video_media.html" %}{% else %}{% endmatch %}
{% include "fragments/common_headers.html" %} {% if let Some(title) = post.title %}{% else %}{% endif %} {% if let Some(description) = post.description %}{% endif %} {% match post.media_type.as_ref() %} {% when "image" %} {% if let Some(title) = post.title %}{% else %}{% endif %} {% if let Some(description) = post.description %}{% endif %} {% when "video" %} {% else %} {% endmatch %}
No tags in post. Consider adding some!
{% else %} {% endif %}