Version 1
[yaffs-website] / web / modules / contrib / bootstrap_layouts / templates / 3.0.0 / bs-3col.html.twig
1 {#
2 /**
3  * @file
4  * Bootstrap Layouts: "3 Columns" template.
5  *
6  * Available layout variables:
7  * - wrapper: Wrapper element for the layout container.
8  * - attributes: Wrapper attributes for the layout container.
9  *
10  * Available region variables:
11  * - left
12  * - middle
13  * - right
14  *
15  * Each region variable contains the following properties:
16  * - wrapper: The HTML element to use to wrap this region.
17  * - attributes: The HTML attributes to use on the wrapper for this region.
18  * - content: The content to go inside the wrapper for this region.
19  */
20 #}
21 <{{ wrapper }}{{ attributes }}>
22   {{ title_suffix.contextual_links }}
23
24   {% if left.content %}
25   <{{ left.wrapper }}{{ left.attributes }}>
26     {{ left.content }}
27   </{{ left.wrapper }}>
28   {% endif %}
29
30   {% if middle.content %}
31   <{{ middle.wrapper }}{{ middle.attributes }}>
32     {{ middle.content }}
33   </{{ middle.wrapper }}>
34   {% endif %}
35
36   {% if right.content %}
37   <{{ right.wrapper }}{{ right.attributes }}>
38     {{ right.content }}
39   </{{ right.wrapper }}>
40   {% endif %}
41
42 </{{ wrapper }}>