From f70a74dfe789166c730f07c88fa59bcacd349d62 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 12 Oct 2022 16:19:27 -0700 Subject: [PATCH] Update node--ubc-landing-page--featured-content.html.twig --- .../node--ubc-landing-page--featured-content.html.twig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/content/node--ubc-landing-page--featured-content.html.twig b/templates/content/node--ubc-landing-page--featured-content.html.twig index d62af80..437e2d2 100755 --- a/templates/content/node--ubc-landing-page--featured-content.html.twig +++ b/templates/content/node--ubc-landing-page--featured-content.html.twig @@ -115,7 +115,13 @@ {% endif %} - {{ label }} + {% if not (node.field_landing_image_teaser.isEmpty == true) and content.field_landing_image_teaser is defined %} + + {{ content.field_event_image_teaser.0 }} + + {% else %} + {{ label }} + {% endif %} {% endblock %}