{% extends 'layouts/base.html' %}
{% load i18n %}
{% load pyaa %}

{% block content %}

<div class="container mx-auto px-4 py-8 max-w-3xl">
    <h1 class="text-2xl font-bold text-center mb-2">
        {{ content.title }}
    </h1>

    {% if content.published_at %}
    <p class="text-center text-base-content/60 mb-6">
        {{ content.published_at|date:"M d, Y" }}
    </p>
    {% endif %}

    <div class="prose max-w-none">
        {{ content.content | safe }}
    </div>
</div>

{% endblock content %}
