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