bs-3col.html.twig in Bootstrap Layouts 8.5
Same filename and directory in other branches
Bootstrap Layouts: "3 Columns" template.
Available layout variables:
- wrapper: Wrapper element for the layout container.
- attributes: Wrapper attributes for the layout container.
Available region variables:
- left
- middle
- right
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-3col.html.twigView source
- {#
- /**
- * @file
- * Bootstrap Layouts: "3 Columns" template.
- *
- * Available layout variables:
- * - wrapper: Wrapper element for the layout container.
- * - attributes: Wrapper attributes for the layout container.
- *
- * Available region variables:
- * - left
- * - middle
- * - right
- *
- * 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 }}
-
- {% if left.content %}
- <{{ left.wrapper }}{{ left.attributes }}>
- {{ left.content }}
- </{{ left.wrapper }}>
- {% endif %}
-
- {% if middle.content %}
- <{{ middle.wrapper }}{{ middle.attributes }}>
- {{ middle.content }}
- </{{ middle.wrapper }}>
- {% endif %}
-
- {% if right.content %}
- <{{ right.wrapper }}{{ right.attributes }}>
- {{ right.content }}
- </{{ right.wrapper }}>
- {% endif %}
-
- </{{ wrapper }}>