This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# | |
/** | |
* @file | |
* Default theme implementation for a page wrapper. | |
* | |
* For consistent wrapping to {{ page }} render in all themes. | |
* | |
* Available variables: | |
* - children: Contains the child elements of the page. | |
* | |
* @ingroup themeable | |
*/ | |
#} | |
{% if children and is_admin %} | |
{% spaceless %} | |
<div id="main-canvas-wrapper" class="outside-in outside-in--wrapper"> | |
<div id="main-canvas" class="outside-in__internal"> | |
{{ children }} | |
</div> | |
</div> | |
{% endspaceless %} | |
{% else %} | |
{{ children }} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment