diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 19:10:56 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 19:10:56 +0200 |
| commit | d23f26c2496bc1b0002ae6ba687bc065c270e1df (patch) | |
| tree | 64a46da45dd98f39d7e265dc07cb655abce2092e /themes/flog/layouts/partials/listing.html | |
| parent | d8bfa86934facf14226add1cc89224ce14e9a337 (diff) | |
| download | pragblog-d23f26c2496bc1b0002ae6ba687bc065c270e1df.tar.gz pragblog-d23f26c2496bc1b0002ae6ba687bc065c270e1df.zip | |
integrate smoothstate.js
Diffstat (limited to 'themes/flog/layouts/partials/listing.html')
| -rw-r--r-- | themes/flog/layouts/partials/listing.html | 4 |
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> |
