Add header overlay sample posts

This commit is contained in:
Michael Rose
2016-03-23 21:50:22 -04:00
parent bda9a23261
commit cae92a8770
13 changed files with 86 additions and 39 deletions

View File

@@ -2,7 +2,7 @@
layout: default
---
{% if page.header.image %}
{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %}
{% include page__hero.html %}
{% endif %}
@@ -14,7 +14,9 @@ layout: default
{% include sidebar.html %}
<div class="archive">
<h1 class="page__title">{{ page.title }}</h1>
{% unless page.header.overlay_color or page.header.overlay_image %}
<h1 class="page__title">{{ page.title }}</h1>
{% endunless %}
{{ content }}
</div>
</div>