From 02c80f35efa2de0ccde8e26530e94dc3da078b71 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 23 May 2019 11:26:54 +0100 Subject: [PATCH] Only try and display an image if there is one --- source/_includes/front-speakers.html.twig | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/source/_includes/front-speakers.html.twig b/source/_includes/front-speakers.html.twig index 0a96a3c..774aaa9 100644 --- a/source/_includes/front-speakers.html.twig +++ b/source/_includes/front-speakers.html.twig @@ -14,11 +14,13 @@ - - - Photo of {{ speaker.name }} - - + {% if speaker.image %} + + + Photo of {{ speaker.name }} + + + {% endif %} {% endfor %}