{# EXTENDS #}
{% extends "@organisms/tm-line-info/line-info-base/line-info-base.twig" %}

{% set header = title %}
{% set card_class = 'news-card mb-4' %}

{% block content_block %}
  {{ attach_library('ui_patterns/line_info_news.line_info_news_lib') }}
  <div class="line-info-news">
    <div class="row line-info-news-row">
    {% for article in articles %}
      <div class="col-sm-4 line-info-news-card">
        {% include '@molecules/tm-cards/news-card/news-card.twig' with {
          'img_url': article.img_url,
          'img_alt': article.img_alt,
          'title': article.title,
          'card_link': article.article_url,
          'date': article.date,
          'alternate_layout': true
        } %}
      </div>
    {% endfor %}
    </div>
  </div>
{% endblock %}
