diff --git a/source/_includes/talk/image.html.twig b/source/_includes/talk/image.html.twig new file mode 100644 index 00000000..e6f1d1ac --- /dev/null +++ b/source/_includes/talk/image.html.twig @@ -0,0 +1,9 @@ +{% if talk.speakerdeck.id %} + +{% endif %} diff --git a/source/talks.html.twig b/source/talks.html.twig index 9beca22a..2ea6a317 100644 --- a/source/talks.html.twig +++ b/source/talks.html.twig @@ -20,15 +20,7 @@ use: [talks] - {% if talk.speakerdeck.id %} - - {% endif %} + {% include 'talk/image.html.twig' %} {% endfor %} {% endblock %}