Add header overlay sample posts
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user