Rename _includes to _partials
This commit is contained in:
parent
c6aaf21722
commit
11d37468a8
27 changed files with 0 additions and 0 deletions
29
source/_partials/talk/video.html.twig
Normal file
29
source/_partials/talk/video.html.twig
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{% if page.youtube.id or page.vimeo.id %}
|
||||
<div class="mt-4">
|
||||
<h2>Video</h2>
|
||||
|
||||
<div class="talk-video">
|
||||
{% if page.youtube.id %}
|
||||
<iframe
|
||||
width="678"
|
||||
height="408"
|
||||
src="//www.youtube.com/embed/{{ page.youtube.id }}"
|
||||
frameborder="0"
|
||||
allowfullscreen
|
||||
>
|
||||
</iframe>
|
||||
{% elseif page.vimeo.id %}
|
||||
<iframe
|
||||
src="https://player.vimeo.com/video/{{ page.vimeo.id }}"
|
||||
width="640"
|
||||
height="360"
|
||||
frameborder="0"
|
||||
webkitallowfullscreen
|
||||
mozallowfullscreen
|
||||
allowfullscreen
|
||||
>
|
||||
</iframe>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue