Added slides and video blocks

This commit is contained in:
Oliver Davies 2015-12-29 00:39:54 +00:00
parent bc180e8792
commit 33198841a4
8 changed files with 51 additions and 28 deletions

View file

@ -15,14 +15,16 @@
{{ page.blocks.content|raw }}
{% if page.slides.embed %}
<hr>
{% if page.blocks.slides %}
<h2>Slides</h2>
{{ page.slides.embed|raw }}
{{ page.blocks.slides|raw }}
{% endif %}
{% if page.vimeo.id %}
<iframe src="https://player.vimeo.com/video/{{ page.vimeo.id }}?title=0&portrait=0" width="{{ page.vimeo.width|default(500) }}" height="{{ page.vimeo.height|default(281) }}" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
{% if page.blocks.video %}
<h2>Video</h2>
{{ page.blocks.video|raw }}
{% endif %}
</main>
{% endblock content_wrapper %}
{% endblock %}