custom/plugins/ATNTheme/src/Resources/views/storefront/component/blog/card/box.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@SasBlogModule/storefront/component/blog/card/box.html.twig' %}
  2. {% block sas_blog_card_body %}
  3.     <div class="card-body">
  4.         <div class="d-flex flex-column">
  5.             {% block sas_blog_card_title %}
  6.                 <h2 class="h4 d-block text-primary text-uppercase">
  7.                     {{ block('sas_blog_card_title_link') }}
  8.                 </h2>
  9.             {% endblock %}
  10.         </div>
  11.         {% block sas_blog_card_teaser %}{% endblock %}
  12.         {% block sas_blog_card_title_date %}
  13.             <p class="mt-2 mb-1 d-flex align-items-center blog-date text-primary">
  14.                 {{ article.publishedAt|format_date('short', locale=app.request.locale) }}
  15. {#                {{ element.data.createdAt|format_date('short', locale=app.request.locale) }}#}
  16.             </p>
  17.         {% endblock %}
  18.     </div>
  19. {% endblock %}
  20. {% block sas_blog_card_footer %}{% endblock %}