{% extends 'base.html.twig' %}

{% block content %}
<div class="container">
    <h1 class="mb-4">{{ __('Blog') }}</h1>

    {% if layout == 'sidebar' %}
        <div class="row">
            <div class="col-lg-8">
                {% include 'components/post-loop.html.twig' %}
            </div>
            <div class="col-lg-4">
                {% include 'partials/sidebar.html.twig' %}
            </div>
        </div>
    {% else %}
        {% include 'components/post-loop.html.twig' %}
    {% endif %}
</div>
{% endblock %}
