Extract includes from the talk layout

This commit is contained in:
Oliver Davies 2024-01-11 19:56:42 +00:00
parent de2a1dcee3
commit aad6d0315e
4 changed files with 56 additions and 47 deletions

View file

@ -0,0 +1,7 @@
{% if video.type == 'youtube' and video.id %}
<section>
<h2>Video</h2>
{% include 'youtube-video.html.twig' with { id: video.id } %}
</section>
{% endif %}