header
This commit is contained in:
@@ -35,22 +35,26 @@
|
||||
{% include directory ~ '\/partials/header.html.twig' %}
|
||||
{{ page.help }}
|
||||
|
||||
<main role="main" class="columns small-12">
|
||||
<main role="main" class="columns ">
|
||||
<a id="main-content" tabindex="-1"></a>
|
||||
{# link is in html.html.twig #}
|
||||
<div class="layout-content">
|
||||
|
||||
{% if page.sidebar_first == null %}
|
||||
{% set offset = 'small-offset-3' %}
|
||||
{% endif %}
|
||||
<div class="layout-content small-6 {{offset}}">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
{# /.layout-content #}
|
||||
|
||||
{% if page.sidebar_first %}
|
||||
<aside class="layout-sidebar-first" role="complementary">
|
||||
<aside class="layout-sidebar-first small-3" role="complementary">
|
||||
{{ page.sidebar_first }}
|
||||
</aside>
|
||||
{% endif %}
|
||||
|
||||
{% if page.sidebar_second %}
|
||||
<aside class="layout-sidebar-second" role="complementary">
|
||||
<aside class="layout-sidebar-second small-3" role="complementary">
|
||||
{{ page.sidebar_second }}
|
||||
</aside>
|
||||
{% endif %}
|
Reference in New Issue
Block a user