{% extends 'base.twig' %}

{% block content %}
{% if sidebar_content %}
<div class="row g-0">
    <section id="site-content" class="col-lg-9 col-md-8 content-column order-1">
        <div class="content-wrapper p-4">
            {{ content|raw }}
        </div>
    </section>
    <aside role="complementary" aria-label="Sidebar content" id="site-sidebar" class="col-lg-3 col-md-4 sidebar-column order-2">
        <div class="sidebar h-100">
            {{ sidebar_content|raw }}
        </div>
    </aside>
</div>
{% else %}
<div class="container">
    <section id="site-content" class="col-12">
        <div class="content-wrapper p-4">
            {{ content|raw }}
        </div>
    </section>
</div>
{% endif %}
{% endblock %}
