1
Fork 0

Customize lightgallery and use all plugins

This commit is contained in:
Jake Howard 2018-12-01 20:52:38 +00:00
parent b216fbd24d
commit 1128182535
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css $STATI
cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/webfonts $STATIC_BUILD cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/webfonts $STATIC_BUILD
cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js
cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery.js $STATIC_BUILD/js/lightgallery.js cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery-all.min.js $STATIC_BUILD/js/lightgallery.js
cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.js cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.js
cp $BASEDIR/node_modules/mermaid/dist/mermaid.min.js $STATIC_BUILD/js/mermaid.js cp $BASEDIR/node_modules/mermaid/dist/mermaid.min.js $STATIC_BUILD/js/mermaid.js

View file

@ -26,10 +26,10 @@ $(document).ready(function() {
waitFor($.fn, 'lightGallery', function() { waitFor($.fn, 'lightGallery', function() {
$('#light-gallery').lightGallery({ $('#light-gallery').lightGallery({
thumbnail: true, thumbnail: true,
animateThumb: false, animateThumb: true,
showThumbByDefault: false, showThumbByDefault: false,
preload: 2,
download: false, download: false,
share: false,
}); });
}); });