10995771bfd91111ac0f14ec6d8ea02da8ec6012
[yaffs-website] / web / core / modules / layout_discovery / layouts / twocol_bricks / layout--twocol-bricks.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for a two column layout.
5  *
6  * This template provides a two column display layout with full width areas at
7  * the top, bottom and in the middle.
8  *
9  * Available variables:
10  * - content: The content for this layout.
11  * - attributes: HTML attributes for the layout <div>.
12  *
13  * @ingroup themeable
14  */
15 #}
16 {%
17   set classes = [
18     'layout',
19     'layout--twocol-bricks',
20   ]
21 %}
22 {% if content %}
23   <div{{ attributes.addClass(classes) }}>
24     {% if content.top %}
25       <div class="layout__region layout__region--top">
26         {{ content.top }}
27       </div>
28     {% endif %}
29
30     {% if content.first_above %}
31       <div class="layout__region layout__region--first-above">
32         {{ content.first_above }}
33       </div>
34     {% endif %}
35
36     {% if content.second_above %}
37       <div class="layout__region layout__region--second-above">
38         {{ content.second_above }}
39       </div>
40     {% endif %}
41
42     {% if content.middle %}
43       <div class="layout__region layout__region--middle">
44         {{ content.middle }}
45       </div>
46     {% endif %}
47
48     {% if content.first_below %}
49       <div class="layout__region layout__region--first-below">
50         {{ content.first_below }}
51       </div>
52     {% endif %}
53
54     {% if content.second_below %}
55       <div class="layout__region layout__region--second-below">
56         {{ content.second_below }}
57       </div>
58     {% endif %}
59
60     {% if content.bottom %}
61       <div class="layout__region layout__region--bottom">
62         {{ content.bottom }}
63       </div>
64     {% endif %}
65   </div>
66 {% endif %}