From e61851190651a15bf82d52c8e91436c66fd62eaf Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 16 May 2019 00:15:52 +0100 Subject: [PATCH] Only show heading if there is a title --- source/_includes/speaker-session.html.twig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/_includes/speaker-session.html.twig b/source/_includes/speaker-session.html.twig index fd6dde4..42d4563 100644 --- a/source/_includes/speaker-session.html.twig +++ b/source/_includes/speaker-session.html.twig @@ -1,6 +1,8 @@ -

Session

- {% for session in sessions if speaker.name in session.speakers %} + {% if loop.first %} +

Session

+ {% endif %} + {{ session.title }}