{% load i18n %}

{% if blog.post_date %}
    <span class="blog-meta">
        {% if prefix %}
            <span class="blog-meta__prefix">{{ prefix }}:</span>
        {% endif %}
        <time datetime="{{ blog.post_date|date:'Y-m-d' }}">{{ blog.post_date|date:"d b Y" }}</time>
    </span>
{% elif prefix %}
    <span class="blog-meta blog-meta--empty">{{ prefix }}</span>
{% endif %}
