b224deb9355a2fd34e5cbc8d6adcd54e59511edf
[yaffs-website] / web / core / modules / outside_in / templates / outside-in-page-wrapper.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for a page wrapper.
5  *
6  * For consistent wrapping to {{ page }} render in all themes. The
7  * "data-off-canvas-main-canvas" attribute is required by the off-canvas dialog.
8  * It cannot be removed without breaking the off-canvas dialog functionality.
9  *
10  * Available variables:
11  * - children: Contains the child elements of the page.
12  *
13  * @ingroup themeable
14  */
15 #}
16 {% if children %}
17   <div class="dialog-off-canvas__main-canvas" data-off-canvas-main-canvas >
18     {{ children }}
19   </div>
20 {% endif %}