Correct links
This commit is contained in:
parent
70eb4e3558
commit
3c8cb5f9f5
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue