Correct links

This commit is contained in:
vedri 2023-09-29 10:56:08 +02:00
parent 70eb4e3558
commit 3c8cb5f9f5

View file

@ -49,7 +49,7 @@ if (today === "11-07") {
word.textContent = "NO";
link.textContent = "Read the epilogue";
link.setAttribute("class", "button disabled");
link.href = "/entries/epilogue.html";
link.href = "entries/epilogue.html";
} else {
@ -63,7 +63,7 @@ if (today === "11-07") {
word.textContent = "NO";
link.textContent = "Check out the entry index";
link.setAttribute("class", "button disabled");
link.href = "/entries/index.html";
link.href = "entries/index.html";
} else if (multipleEntries[entry] === 0) {
@ -72,7 +72,7 @@ if (today === "11-07") {
word.textContent = "YES";
link.textContent = "Read the entry";
link.setAttribute("class", "button");
link.href = "/entries/" + today + ".html";
link.href = "entries/" + today + ".html";
} else {
@ -81,7 +81,7 @@ if (today === "11-07") {
word.textContent = "YES";
link.textContent = "Read the entries";
link.setAttribute("class", "button");
link.href = "/entries/" + today + ".html";
link.href = "entries/" + today + ".html";
}