templates/pages/search/_page.html.twig line 1

Open in your IDE?
  1. {% set _currentParams = app.request.query.all %}
  2. {% if strim_width is not defined %}{% set strim_width = 82 %}{% endif %}
  3. <div class="js-infiniteScroll--wrap-{{ class }}">
  4.   <div
  5.     class="searchResultContents__itemContainer {{ class }} js-infiniteScroll--container"
  6.     data-container=".js-infiniteScroll--wrap-{{ class }}"
  7.     data-disable-push="false"
  8.   >
  9.     {% for item in iterator %}
  10.       {% include "components/entry/_entry_list_card.html.twig" with {
  11.         item: item,
  12.         strim_width: strim_width
  13.       } %}
  14.     {% endfor %}
  15.   </div>
  16.   {% if not isLast %}
  17.   <a
  18.     href="{{ more_link }}"
  19.     class="searchResultContents--more js-infiniteScroll--more"
  20.   >
  21.     {{ 'common.more'|trans }}
  22.   </a>
  23.   {% endif %}
  24. </div>