💻 Add sidebar

This commit is contained in:
Dan Jones 2018-01-24 12:28:14 -06:00
commit 21b9550d7b

View file

@ -19,14 +19,23 @@
</div> </div>
</nav> </nav>
<section class="entry-content container-fluid"> <div class="row">
{% if page.title %} <div class="order-2 order-md-1 col-12 col-md-3 col-xl-2 bd-sidebard">
<header class="entry-header"> Here's a sidebar
<h1 class="entry-title">{{ page.title }}</h1> </div>
</header>
{% endif %} <main class="order-1 order-md-2 col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
{{ content }} <section class="entry-content container-fluid">
</section> {% if page.title %}
<header class="entry-header">
<h1 class="entry-title">{{ page.title }}</h1>
</header>
{% endif %}
{{ content }}
</section>
</main>
</div>
</section> </section>
</body> </body>
</html> </html>