diff --git a/build/copy-libs.js b/build/copy-libs.js
index 424747a6279eb293048729e9f0c050aa7b2bc650..27055c2ac90147eec711c2434fca19b647dbd986 100755
--- a/build/copy-libs.js
+++ b/build/copy-libs.js
@@ -1,7 +1,9 @@
-const libs = require('../pages/_data/libs');
-const { exec } = require('child_process');
+const libs = require('../pages/_data/libs'),
+ path = require('path'),
+ { exec } = require('child_process');
libs.forEach(function (lib) {
- let cmd = `mkdir -p "dist/libs/${lib}" && cp -r node_modules/${lib} dist/libs/${lib}`;
+ let dirname = path.dirname(lib);
+ let cmd = `mkdir -p "dist/libs/${dirname}" && cp -r node_modules/${lib} dist/libs/${lib}`;
exec(cmd)
});
diff --git a/pages/_includes/layout/css.html b/pages/_includes/layout/css.html
index a7342051fd1ec108490da0aac9c87edc879a668e..6949987e98e1fd7d917647f770402a26d731c4ed 100644
--- a/pages/_includes/layout/css.html
+++ b/pages/_includes/layout/css.html
@@ -1,3 +1,3 @@
-
-
-
+
+
+
diff --git a/pages/_includes/layout/js.html b/pages/_includes/layout/js.html
index 1036cb54fb6c4c2d584f72bfe8622e105a9c6bbf..8912b13bca8c644d0906ae5e72c921d0a44657f1 100644
--- a/pages/_includes/layout/js.html
+++ b/pages/_includes/layout/js.html
@@ -6,13 +6,13 @@
{% for lib in site.data.libs %}
-
+
{% endfor %}
-
+
-
+