Skip to content

Commit

Permalink
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -115,7 +115,13 @@
{% endif %}
<div{{ container_attributes.addClass(container_classes) }}>
<div{{ caption_attributes.addClass(caption_classes) }}>
<h1{{ title_attributes.addClass(title_classes) }}>{{ label }}</h1>
{% if not (node.field_landing_image_teaser.isEmpty == true) and content.field_landing_image_teaser is defined %}
<div{{ title_attributes.addClass(title_classes) }}>
{{ content.field_event_image_teaser.0 }}
</div>
{% else %}
<h1{{ title_attributes.addClass(title_classes) }}>{{ label }}</h1>
{% endif %}
</div>
</div>
{% endblock %}

0 comments on commit f70a74d

Please sign in to comment.