{{ attach_library('naomi_2025/node.project.teaser-horizontal') }}

{% include "@ui-node/project/teaser-horizontal/component/node.project.teaser-horizontal.twig" with {
  node_teaser_field_display_title: (content.field_display_title.0) ? content.field_display_title.0['#context']['value'] : '',
  node_teaser_field_erm_page_image: (content.field_erm_page_image.0) ? content.field_erm_page_image : '',
  node_teaser_url: path('entity.node.canonical', { node: node.id })
} %}
