<div class="text-body-secondary small mb-3">
    <time datetime="{{ post.date_iso }}">{{ post.date }}</time>
    <span class="mx-1">&middot;</span>
    <a href="{{ post.author.url }}" class="text-body-secondary text-decoration-none">{{ post.author.name }}</a>
    {% if post.categories is defined and post.categories|length > 0 %}
        <span class="mx-1">&middot;</span>
        {% for cat in post.categories %}
            <a href="{{ cat.url }}" class="text-body-secondary text-decoration-none">{{ cat.name }}</a>{% if not loop.last %}, {% endif %}
        {% endfor %}
    {% endif %}
</div>
