<div class="modal-slider__wrapper">
  <div class="swiper-container modal-slider" data-slides="{{slidesCount}}" data-slides-md="{{slidesCountMd}}">
    <div class="swiper-wrapper">
      {{#block "cards"}}{{/block}}
    </div>
  </div>
  <div class="btn btn-primary modal-slider__btn-prev">
    <i class="far fa-angle-left"></i>
  </div>
  <div class="btn btn-primary modal-slider__btn-next">
    <i class="far fa-angle-right"></i>
  </div>
</div>