Change /talks to /presentations
This commit is contained in:
parent
8158c679fd
commit
37603296f0
91 changed files with 168 additions and 166 deletions
20
source/_includes/presentation/video.html.twig
Normal file
20
source/_includes/presentation/video.html.twig
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% if video.id %}
|
||||
<section>
|
||||
<h2>Video</h2>
|
||||
|
||||
<div>
|
||||
{% if video.type == 'vimeo' %}
|
||||
<div>
|
||||
<iframe
|
||||
allowfullscreen
|
||||
class="w-full border border-gray-500 aspect-[16/9]"
|
||||
frameborder="0"
|
||||
src="https://player.vimeo.com/video/{{ video.id }}"
|
||||
></iframe>
|
||||
</div>
|
||||
{% elseif video.type == 'youtube' %}
|
||||
{% include 'youtube-video.html.twig' with { id: video.id } %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue