diff --git a/index.js b/index.js index 5044e55..00719ba 100644 --- a/index.js +++ b/index.js @@ -30,7 +30,8 @@ async function update(url) { } if (urlParams.get("directory") != null && urlParams.get("directory") != currentDirectory) { currentDirectory = "" + removeWrongSlash(urlParams.get("directory")); - changeStatus("./" + currentDirectory); + if (currentDirectory != defaultDirectory) changeStatus("./" + currentDirectory); + else changeStatus(""); } clearList(); if (!data) data = await loadData(); diff --git a/projects/11.9.23/index.html b/projects/11.9.23 - aboutme/index.html similarity index 100% rename from projects/11.9.23/index.html rename to projects/11.9.23 - aboutme/index.html diff --git a/projects/11.9.23/profile.png b/projects/11.9.23 - aboutme/profile.png similarity index 100% rename from projects/11.9.23/profile.png rename to projects/11.9.23 - aboutme/profile.png diff --git a/projects/11.9.23/styles.css b/projects/11.9.23 - aboutme/styles.css similarity index 100% rename from projects/11.9.23/styles.css rename to projects/11.9.23 - aboutme/styles.css