Create includes for greater layout flexibility

This commit is contained in:
Michael Rose
2016-03-23 12:56:23 -04:00
parent 0e365ee248
commit 3663ba897a
6 changed files with 104 additions and 97 deletions

View File

@@ -2,7 +2,19 @@
layout: default
---
<div class="archive">
<h1 class="page__title">{{ page.title }}</h1>
{{ content }}
</div><!-- /.archive -->
{% if page.header.image %}
{% include page__hero.html %}
{% endif %}
{% if page.url != "/" and site.breadcrumbs and site.categories.type == "jekyll-archives" %}
{% include breadcrumbs.html %}
{% endif %}
<div id="main" role="main">
{% include sidebar.html %}
<div class="archive">
<h1 class="page__title">{{ page.title }}</h1>
{{ content }}
</div>
</div>