lightbox.html 465 B

123456789101112131415161718
  1. ---
  2. title: Lightbox
  3. page-header: Lightbox
  4. libs: fslightbox
  5. menu: base.lightbox
  6. ---
  7. {% assign photos = site.data.photos | where: "horizontal", true %}
  8. <div class="row row-cols-3 row-cols-md-4 row-cols-lg-6 g-3">
  9. {% for photo in photos %}
  10. <div class="col">
  11. <a data-fslightbox="gallery" href="{{ site.base }}/static/photos/{{ photo.file }}">
  12. {% include ui/photo.html id=forloop.index0 class="rounded border" ratio="1x1" %}
  13. </a>
  14. </div>
  15. {% endfor %}
  16. </div>