Customize lightgallery and use all plugins
This commit is contained in:
parent
b216fbd24d
commit
1128182535
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue