{# LIBRARIES #}
{% extends "@molecules/tm-bs/card/card.twig" %}

{# VARIABLES #}
{% set card_class = 'discover-card cbelianr' %}
{% set link_scope = 'top' %}
{% set show_header = true %}
{% set show_footer = true %}

{# BLOCKS #}
{% block card_body %}
  {{ attach_library('ui_patterns/discover_card.discover_card_lib') }}
  {% include "@atoms/tm-links/icon-bookended/icon-bookended.twig" with {
    "text": title,
    "icon_right": global_icon_right|default('fas fa-chevron-right'),
    "tag_name": "h2",
  } only %}
{% endblock %}

{% block card_footer %}
  {% if tags %}
    {% include "@molecules/tm-cards/card-partials/tags.html.twig" with {
      'display': 'inline',
      'tags': tags
    } only %}
  {% endif %}
{% endblock %}
