Chris@14: {# Chris@14: /** Chris@14: * @file Chris@14: * Default theme implementation for a page wrapper. Chris@14: * Chris@14: * For consistent wrapping to {{ page }} render in all themes. The Chris@14: * "data-off-canvas-main-canvas" attribute is required by the off-canvas dialog. Chris@14: * This is used by the core/drupal.dialog.off_canvas library to select the Chris@14: * "main canvas" page element as opposed to the "off canvas" which is the dialog Chris@14: * itself. The "main canvas" element must be resized according to the width of Chris@14: * the "off canvas" dialog so that no portion of the "main canvas" is obstructed Chris@14: * by the off-canvas dialog. The off-canvas dialog can vary in width when opened Chris@14: * and can be resized by the user. The "data-off-canvas-main-canvas" attribute Chris@14: * cannot be removed without breaking the off-canvas dialog functionality. Chris@14: * Chris@14: * Available variables: Chris@14: * - children: Contains the child elements of the page. Chris@14: * Chris@14: * @ingroup themeable Chris@14: */ Chris@14: #} Chris@14: {% if children %} Chris@14:
Chris@14: {{ children }} Chris@14:
Chris@14: {% endif %}