www.netz39.de/_includes/gallery.html
2023-10-16 01:36:59 +02:00

22 lines
755 B
HTML

<style>
/* force scrollbar */
html { overflow-y: scroll; }
/* To overwrite page's padding, to get bigger images */
/* article {padding:2%;} */
</style>
<div id='masonry' class="grid">
<div class="grid-sizer"></div>
<div class="gutter-sizer"></div>
{% for image in site.static_files %}
{% if image.path contains include.gallery_path %}
{% unless image.path contains '.md' %}
<img src="{{ image.path | relative_url }}" alt="" class="grid-item" style="padding: 0;">
{% endunless %}
{% endif %}
{% endfor %}
</div>
<script src="{{ '/assets/js/vendor/imagesloaded.pkgd.min.js' | relative_url }}" type="text/javascript"></script>
<script src="{{ '/assets/js/vendor/masonry.pkgd.min.js' | relative_url }}" type="text/javascript"></script>