{% set node_teaser_tag = node_teaser_tag|default('article') %}

<{{ node_teaser_tag }}{{ attributes }}>
  {% block node_teaser %}
    <header class="node-teaser__header">
      {% block node_teaser_header %}
        <div class="node-teaser__heading">
          {% block node_teaser_heading %}
            {% if node_teaser_label_as_link %}
              {{ node_teaser_label_as_link }}
            {% else %}
              {{- node_teaser_field_label -}}
            {% endif %}
          {% endblock %}
        </div>
      {% endblock %}
    </header>

    <div class="node-teaser__content">
      {% block node_teaser_content %}
        {{ node_teaser_content }}
      {% endblock %}
    </div>
  {% endblock %}
</{{ node_teaser_tag }}>
