{% extends 'base.html' %} {% load i18n %} {% block content %}

{{ post.title }}

{% if post.image %} {{ post.title }} {% endif %} {{ post.article|safe }}

{% trans "Posted on" %} {{post.pub_date|date:"d E Y"}} {% if post.categories.exists %} {% trans "in categories" %} {% for category in post.categories.all %}{{ category.title }} {% if not forloop.last %}, {% endif %} {% endfor %}{% endif %}

{% endblock %}