<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}Mon Blog{% endblock %}</title>
    {# <link rel="stylesheet" href="/css/main.css"> #}
    <style>
        body {font-family: Arial, sans-serif; margin: 2rem;}
        .post {border-bottom: 1px solid #ccc; padding: 1rem 0;}
        .admin-actions a,
        .admin-actions form {margin-right: .5rem;}
    </style>
</head>
<body>

    {# Header commun #}
    {% include 'partials/_header.twig' %}

    {# Zone principale – chaque page injecte son contenu #}
    <main>
        {% block content %}{% endblock %}
    </main>

    {# Footer commun #}
    {% include 'partials/_footer.twig' %}

    {# Scripts globaux #}
    {# <script src="/js/app.js"></script> #}
    {% block scripts %}{% endblock %}
</body>

</html>
