diff --git a/source/_layouts/helpers.html.twig b/source/_layouts/helpers.html.twig index d059c57f..a3acd83b 100644 --- a/source/_layouts/helpers.html.twig +++ b/source/_layouts/helpers.html.twig @@ -1,9 +1,4 @@ {% macro talkEventLocation(eventData, event) %} - {% if eventData.location %} - in {{ eventData.location }} - {% endif %} - - {% if event.online %} - (online) - {% endif %} + {{ eventData.location ? 'in ' ~ eventData.location }} + {{ event.online ? ' (online)' }} {% endmacro %}