Commit fd0c7209 by Manzar Hussain

add sidebar

parent 6a7c5759
...@@ -20,6 +20,8 @@ regions: ...@@ -20,6 +20,8 @@ regions:
content_top: Content Top content_top: Content Top
content: Content content: Content
content_bottom: 'Content Bottom' content_bottom: 'Content Bottom'
sidebar_first: First sidebar_first
sidebar_second: Second sidebar
footer_top: Footer Top footer_top: Footer Top
footer: Footer footer: Footer
footer_first: 'Footer first' footer_first: 'Footer first'
......
...@@ -84,7 +84,26 @@ ...@@ -84,7 +84,26 @@
{% endif %} {% endif %}
{{ page.content }}
{{ page.content }}
{% if page.sidebar_first %}
<div id="sidebar-first" class="column sidebar">
<aside class="section" role="complementary">
{{ page.sidebar_first }}
</aside>
</div>
{% endif %}
{% if page.sidebar_second %}
<div id="sidebar-second" class="column sidebar">
<aside class="section" role="complementary">
{{ page.sidebar_second }}
</aside>
</div>
{% endif %}
<!-- <div class="layout-container"> <!-- <div class="layout-container">
<div class="layout-content"> <div class="layout-content">
{# {{ page.content }} #} {# {{ page.content }} #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment