Version 1
[yaffs-website] / web / modules / contrib / bootstrap_layouts / templates / 3.0.0 / bs-2col-stacked.html.twig
1 {#
2 /**
3  * @file
4  * Bootstrap Layouts: "2 Columns (stacked)" 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  * - top
12  * - left
13  * - right
14  * - bottom
15  *
16  * Each region variable contains the following properties:
17  * - wrapper: The HTML element to use to wrap this region.
18  * - attributes: The HTML attributes to use on the wrapper for this region.
19  * - content: The content to go inside the wrapper for this region.
20  */
21 #}
22 <{{ wrapper }}{{ attributes }}>
23   {{ title_suffix.contextual_links }}
24
25   {% if top.content %}
26   <{{ top.wrapper }}{{ top.attributes }}>
27     {{ top.content }}
28   </{{ top.wrapper }}>
29   {% endif %}
30
31   {% if left.content %}
32   <{{ left.wrapper }}{{ left.attributes }}>
33     {{ left.content }}
34   </{{ left.wrapper }}>
35   {% endif %}
36
37   {% if right.content %}
38   <{{ right.wrapper }}{{ right.attributes }}>
39     {{ right.content }}
40   </{{ right.wrapper }}>
41   {% endif %}
42
43   {% if bottom.content %}
44   <{{ bottom.wrapper }}{{ bottom.attributes }}>
45     {{ bottom.content }}
46   </{{ bottom.wrapper }}>
47   {% endif %}
48
49 </{{ wrapper }}>