custom/plugins/SasBlogModule/src/Resources/views/storefront/component/blog/newest-listing.html.twig line 1

Open in your IDE?
  1. {% block sas_element_blog_newest_listing_row %}
  2.     <div class="cms-news-full-listing-row js-listing-wrapper">
  3.         {% if searchResult.total > 0 %}
  4.             {% block sas_element_blog_newest_listing_col %}
  5.                 <div class="row">
  6.                     {% for article in searchResult %}
  7.                         {% block sas_element_blog_newest_listing_box %}
  8.                             <div class="col-12 col-md-4 col-lg-3 my-4">
  9.                                 {% sw_include '@Storefront/storefront/component/blog/card/box.html.twig' %}
  10.                             </div>
  11.                         {% endblock %}
  12.                     {% endfor %}
  13.                 </div>
  14.             {% endblock %}
  15.         {% else %}
  16.             {% block sas_element_blog_newest_listing_col_empty %}
  17.                 <div class="cms-listing-col col-12">
  18.                     {% block sas_element_blog_newest_listing_col_empty_alert %}
  19.                         {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with {
  20.                             type: 'info',
  21.                             content: 'sas-blog.search.emptyResult'|trans|sw_sanitize
  22.                         } %}
  23.                     {% endblock %}
  24.                 </div>
  25.             {% endblock %}
  26.         {% endif %}
  27.     </div>
  28. {% endblock %}