-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
threecolumn.html.twig
38 lines (31 loc) · 959 Bytes
/
threecolumn.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends 'partials/base.html.twig' %}
{% block content %}
<div class="row main-row">
<div class="3u 12u(mobile) sidebars">
{% block sidebar2 %}
{% include 'partials/sidebar2.html.twig' %}
{% endblock sidebar2 %}
</div>
<div class="6u 12u(mobile) important(mobile)">
<section class="middle-content">
{% block inner_content %}
{{ page.content|raw }}
{% endblock inner_content %}
</section>
</div>
<div class="3u 12u(mobile) sidebars">
{% set options = { columns: 1 } %}
{% set standards = page.find('/components/links/_sidebar1').header %}
{% if standards.links %}
{% set links = {list: standards.links} %}
{% if standards.title %}
{% set links = links|merge({heading: standards.title}) %}
{% endif %}
{% set options= options|merge({links: links}) %}
{% endif %}
{% block sidebars %}
{% include 'partials/sidebar1.html.twig' with options %}
{% endblock sidebars %}
</div>
</div>
{% endblock %}