diff --git a/_config.yml b/_config.yml index a6992e8..2912150 100644 --- a/_config.yml +++ b/_config.yml @@ -133,7 +133,6 @@ imagemagick: # ----------------------------------------------------------------------------- enable_google_verification: false -enable_masonry: false enable_math: false enable_tooltips: false enable_darkmode: true @@ -162,9 +161,6 @@ jquery: integrity: "sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" mathjax: version: "3.2.0" -masonry: - version: "4.2.2" - integrity: "sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=" mdb: version: "4.20.0" integrity: diff --git a/_includes/scripts/masonry.html b/_includes/scripts/masonry.html deleted file mode 100644 index 417e82b..0000000 --- a/_includes/scripts/masonry.html +++ /dev/null @@ -1,5 +0,0 @@ - {%- if site.enable_masonry -%} - - - - {%- endif -%} diff --git a/_layouts/default.html b/_layouts/default.html index 0b45fcd..54a2997 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -20,7 +20,6 @@ layout: parse {% include scripts/jquery.html %} {% include scripts/bootstrap.html %} - {% include scripts/masonry.html %} {% include scripts/misc.html %} {% include scripts/mathjax.html %} diff --git a/assets/js/masonry.js b/assets/js/masonry.js deleted file mode 100644 index 054f3a0..0000000 --- a/assets/js/masonry.js +++ /dev/null @@ -1,12 +0,0 @@ -$(document).ready(function() { - // Init Masonry - var $grid = $('.grid').masonry({ - gutter: 10, - horizontalOrder: true, - itemSelector: '.grid-item', - }); - // Layout Masonry after each image loads - $grid.imagesLoaded().progress( function() { - $grid.masonry('layout'); - }); -});