Add video header support to archive and splash layouts

This commit is contained in:
Michael Rose 2017-01-24 10:09:22 -05:00
parent 5fc884eb84
commit 66c154e37f
4 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}

View file

@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
<div id="main" role="main"> <div id="main" role="main">

View file

@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
{% if page.url != "/" and site.breadcrumbs %} {% if page.url != "/" and site.breadcrumbs %}

View file

@ -4,6 +4,8 @@ layout: default
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html %} {% include page__hero.html %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %} {% endif %}
<div id="main" role="main"> <div id="main" role="main">