{% set node_teaser_classes = [
  'node-teaser',
  'node-teaser--project',
  'node-teaser--horizontal',
] %}
{% set attributes = attributes|default(create_attribute()) %}

{% extends "@ui-node/component/node-teaser/node-teaser.twig" %}

{% block node_teaser %}
  <a href="{{ node_teaser_url }}">
    {{ parent() }}
  </a>
{% endblock %}

{% block node_teaser_heading %}
  {% if node_teaser_field_display_title %}
    {{ node_teaser_field_display_title|replace({ '|': '<br/>' })|raw }}
  {% else %}
    {{ parent() }}
  {% endif %}
{% endblock %}

{% block node_teaser_content %}


  {{ node_teaser_field_erm_page_image }}

{% endblock %}
