<div class="album py-5 bg-body-tertiary"> <div class="container"> <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3"> {% for gallary in gallery_items %} {% include 'card.html' %} {# include 'card_loading.html' #} {% endfor %} </div> </div> </div>