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 %}