diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ef4eb34..16da53c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -28,10 +28,10 @@ {{ partial "footer.html" . }} - {{ partial "script.html" "js/jquery.min.js" }} + {{ partial "script.html" "js/jquery.js" }} {{ partial "script_async.html" "js/lightgallery.js" }} - {{ partial "script_async.html" "js/bootstrap.min.js" }} - {{ partial "script_async.html" "js/mermaid.min.js" }} + {{ partial "script_async.html" "js/bootstrap.js" }} + {{ partial "script_async.html" "js/mermaid.js" }} {{ partial "script_async.html" "js/app.js" }} diff --git a/scripts/build.sh b/scripts/build.sh index 0f4f929..3f9bcc9 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -14,10 +14,10 @@ cp -r $BASEDIR/node_modules/lightgallery/dist/img/* $STATIC_BUILD/img cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css $STATIC_BUILD/css/font-awesome.min.css cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/webfonts $STATIC_BUILD -cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.min.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/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.min.js -cp $BASEDIR/node_modules/mermaid/dist/mermaid.min.js $STATIC_BUILD/js/mermaid.min.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 browserify $STATIC_SRC/js/index.js -o $STATIC_BUILD/js/app.js cp -r $STATIC_SRC/scss $STATIC_BUILD/scss