diff --git a/package.json b/package.json
index f71eedee8253876b962482851ad6e488ebb85e3d..d7d49a63e8655f499172e825143dd02ad94d7325 100644
--- a/package.json
+++ b/package.json
@@ -17,5 +17,10 @@
"license": "MIT",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"scripts": {
+ "build": "npm run build:clean && npm run build:stripstylelinks && npm run build:minify && npm run build:insert",
+ "build:clean": "rm -rf ./dist/*",
+ "build:stripstylelinks": "sed '/ dist/base-html.html",
+ "build:minify": "(echo \"\") > dist/minified-style.html",
+ "build:insert": "sed '/
/ r dist/minified-style.html' dist/base-html.html > dist/dir-index.html"
}
}
diff --git a/src/dir-index.html b/src/dir-index.html
index 0f940db4648f39abae408777623935a421d29d1c..a399152c2060d994a7e71d8e283390cc83531edc 100644
--- a/src/dir-index.html
+++ b/src/dir-index.html
@@ -18,7 +18,6 @@
-
{{ .Path }}
diff --git a/src/icons.css b/src/icons.css
index 7a9260fa3d0f4b7865986fa4080f247f35935342..6bf7cbfce1aff6a783da84ea332c6f6eed152a6e 100644
--- a/src/icons.css
+++ b/src/icons.css
@@ -1,3 +1,5 @@
+/* Source - fileicons.org */
+
.ipfs-_blank {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWBJREFUeNqEUj1LxEAQnd1MVA4lyIEWx6UIKEGUExGsbC3tLfwJ/hT/g7VlCnubqxXBwg/Q4hQP/LhKL5nZuBsvuGfW5MGyuzM7jzdvVuR5DgYnZ+f99ai7Vt5t9K9unu4HLweI3qWYxI6PDosdy0fhcntxO44CcOBzPA7mfEyuHwf7ntQk4jcnywOxIlfxOCNYaLVgb6cXbkTdhJXq2SIlNMC0xIqhHczDbi8OVzpLSUa0WebRfmigLHqj1EcPZnwf7gbDIrYVRyEinurj6jTBHyI7pqVrFQqEbt6TEmZ9v1NRAJNC1xTYxIQh/MmRUlmFQE3qWOW1nqB2TWk1/3tgJV0waVvkFIEeZbHq4ElyKzAmEXOx6gnEVJuWBzmkRJBRPYGZBDsVaOlpSgVJE2yVaAe/0kx/3azBRO0VsbMFZE3CDSZKweZfYIVg+DZ6v7h9GDVOwZPw/PoxKu/fAgwALbDAXf7DdQkAAAAASUVORK5CYII=);
background-repeat: no-repeat;