_slice == reference_url and page.url.size > reference_url.size %}
    {% assign is_reference_subpage = true %}
{% endif %}

<div class="container">
    <div class="layout-page__wrapper">
        <main class="layout-page__main {% if is_reference_subpage %}layout-page__main--content-right{% endif %}">
            <div class="layout-page__main-wrapper {% if is_reference_subpage %}layout-page__main-wrapper--content-right{% endif %}">
                {% if page_url_reference_slice != reference_url %}
           