{% extends "layout.twig" %}

{% block title %}Mon Blog{% endblock %}

{% block content %}
    {% for post in posts %}
        <div class="post">
            <h2>{{ post.title }}</h2>
            <p>{{ post.content|raw }}</p>
        </div>
    {% else %}
        <p>Aucun article publié.</p>
    {% endfor %}
{% endblock %}
