diff --git a/assets/js/butter-dir-listing.js b/assets/js/butter-dir-listing.js index 37361d3..0ba70ba 100644 --- a/assets/js/butter-dir-listing.js +++ b/assets/js/butter-dir-listing.js @@ -101,13 +101,15 @@ function extractDirectoryListing(doc) { }); } } else { - files.push({ - name: name, - lastModified: lastModified, - size: size, - type: type, - href: href - }); + if (!name.startsWith('.')) { + files.push({ + name: name, + lastModified: lastModified, + size: size, + type: type, + href: href + }); + } } }); diff --git a/simulated-usb-butter/Learn/index.html b/simulated-usb-butter/Learn/index.html index b3927b9..f062927 100644 --- a/simulated-usb-butter/Learn/index.html +++ b/simulated-usb-butter/Learn/index.html @@ -35,6 +35,12 @@ layout: empty