panels-onecol.html.twig in Panels 8.3
Template for a one column panel layout.
This template provides a very simple "one column" panel display layout.
Variables:
- $id: An optional CSS id to use for the layout.
- $content: An array of content, each item in the array is keyed to one
panel of the layout. This layout supports the following sections:
- content.middle: The only panel in the layout.
File
layouts/onecol/panels-onecol.html.twigView source
- {#
- /**
- * @file
- * Template for a one column panel layout.
- *
- * This template provides a very simple "one column" panel display layout.
- *
- * Variables:
- * - $id: An optional CSS id to use for the layout.
- * - $content: An array of content, each item in the array is keyed to one
- * panel of the layout. This layout supports the following sections:
- * - content.middle: The only panel in the layout.
- */
- #}
- <div class="panel-1col" {% if css_id %}{{ css_id }}{% endif %}>
- <div class="panel-panel">
- {{ content.middle }}
- </div>
- </div>