Change /talks to /presentations

This commit is contained in:
Oliver Davies 2024-09-02 18:00:00 +01:00
parent 8158c679fd
commit 37603296f0
91 changed files with 168 additions and 166 deletions

View 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 %}