{% extends "layouts/panel.html" %} {% load i18n %} {% load ravix_ui %} {% block title %}{{ post.title }}{% endblock %} {% block page_title %}{% trans "View post" %}{% endblock %} {% block content_class %}content-narrow{% endblock %} {% block content %}

{{ post.title }}

{{ post.effective_status_label }} {% if post.publish_at %} ยท {{ post.publish_at|jalali_datetime }}{% endif %}

{% if can_edit %}{% icon "edit" 18 %} {% trans "Edit" %} {% icon "trash" 18 %} {% trans "Delete" %}{% endif %} {% trans "Back" %}
{% if post.featured_image %}{{ post.title }}{% endif %} {% if post.excerpt %}

{{ post.excerpt }}

{% endif %}
{{ post.body_html|safe }}
{% trans "Author:" %} {{ post.author.display_name|default:"โ€”" }}
{% trans "Slug:" %} {{ post.slug }}
{% trans "Created:" %} {{ post.created_at|jalali_datetime }}
{% trans "Last edited:" %} {{ post.updated_at|jalali_datetime }}
{% trans "Categories:" %} {% for c in post.categories.all %}{{ c.name }} {% empty %}โ€”{% endfor %}
{% trans "Tags:" %} {% for t in post.tags.all %}{{ t.name }} {% empty %}โ€”{% endfor %}
{% endblock %}