summaryrefslogtreecommitdiff
path: root/themes/flog/layouts/partials/listing.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/flog/layouts/partials/listing.html')
-rw-r--r--themes/flog/layouts/partials/listing.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/flog/layouts/partials/listing.html b/themes/flog/layouts/partials/listing.html
index bc97b30..4c42879 100644
--- a/themes/flog/layouts/partials/listing.html
+++ b/themes/flog/layouts/partials/listing.html
@@ -26,3 +26,7 @@
{{ end }}
</div>
</main>
+<script type="text/javascript" src="/js/masonry-4.1.min.js"></script>
+<script type="text/javascript">
+ new Masonry('.grid', { itemSelector: '.grid-item', percentPosition: true, columnWidth: '.grid-sizer' });
+</script>