Add page hero video for vimeo/youtube using embedresponsively.com code (#788)

This commit is contained in:
Justin Too
2017-01-24 06:29:34 -08:00
committed by Michael Rose
parent 22a4b3d0b7
commit 65a6654582
10 changed files with 146 additions and 5 deletions

View File

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