bs-1col.html.twig in Bootstrap Layouts 8.5
Same filename and directory in other branches
Bootstrap Layouts: "1 Column" template.
Available layout variables:
- wrapper: Wrapper element for the layout container.
- attributes: Wrapper attributes for the layout container.
Available region variables:
- main
Each region variable contains the following properties:
- wrapper: The HTML element to use to wrap this region.
- attributes: The HTML attributes to use on the wrapper for this region.
- content: The content to go inside the wrapper for this region.
File
templates/3.0.0/bs-1col.html.twigView source
- {#
- /**
- * @file
- * Bootstrap Layouts: "1 Column" template.
- *
- * Available layout variables:
- * - wrapper: Wrapper element for the layout container.
- * - attributes: Wrapper attributes for the layout container.
- *
- * Available region variables:
- * - main
- *
- * Each region variable contains the following properties:
- * - wrapper: The HTML element to use to wrap this region.
- * - attributes: The HTML attributes to use on the wrapper for this region.
- * - content: The content to go inside the wrapper for this region.
- */
- #}
- <{{ wrapper }}{{ attributes }}>
- {{ title_suffix.contextual_links }}
- <{{ main.wrapper }}{{ main.attributes }}>
- {{ main.content }}
- </{{ main.wrapper }}>
- </{{ wrapper }}>