{% extends "node--teaser.html.twig" %}

{% block card_body %}

  {% if display_submitted %}
    <div class="teaser__not-icon">
      {% embed "node--teaser__field.html.twig" %}
        {%- block field_icon -%} account_circle {%- endblock -%}
        {%- block svg_title -%} <title>{% trans %}Author name{% endtrans %}</title> {%- endblock -%}
        {%- block field_value %}
          <div class="teaser__published">
            <span class="sr-only">{% trans %}Created on{% endtrans %} </span>
            <div class="teaser__published-date">{{ date }} <span aria-hidden="true">&bullet;</span></div>
            <span class="sr-only"> {% trans %}by{% endtrans %} </span>
            <div class="teaser__published-author">{{ author }}</div>
          </div>
        {%- endblock -%}
      {% endembed %}
    </div>
  {% endif %}

  {% if content.group_name %}
    {% embed "node--teaser__field.html.twig" %}
      {%- block field_icon -%} group {%- endblock -%}
      {% block svg_title %} <title>{% trans %}This content is posted in{% endtrans %}</title> {%- endblock -%}
      {%- block field_value -%}
        <span class="sr-only">{% trans %}This content is posted in{% endtrans %} </span>
        {{ content.group_name }}
      {%- endblock -%}
    {% endembed %}
  {% endif %}

  {% embed "node--teaser__body.html.twig" %}
    {% block field_body %} {{ content.body }} {% endblock %}
  {% endembed %}

{% endblock %}
