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

{# VARIABLES #}
{% set card_class = "blog-card" %}
{% set link_scope = "top" %}
{% set content_class = 'cbelianr' %}
{% set show_header = false %}
{% set show_footer = true %}

{# BLOCKS #}
{% block card_body %}
  {# Not happy with this, currently has to be in a block. Might beed libs block #}
  {{ attach_library('ui_patterns/blog_card.blog_card_lib') }}

  <div class="trunc-desc">
    {% include "@atoms/tm-links/icon-bookended/icon-bookended.twig" with {
      "text": title,
      "icon_right": "fas fa-chevron-right",
      "tag_name": "h3",
    } only %}
    <div class="blog-body-text">
      {{ content }}
    </div>
  </div>
{% endblock %}

{% block card_footer %}
  {% if tags %}
    {% include "@molecules/tm-cards/card-partials/tags.html.twig" %}
  {% endif %}
{% endblock %}
