Skip to content

Commit

Permalink
Merge pull request #410 from narthur/master
Browse files Browse the repository at this point in the history
Fix 404 page links
  • Loading branch information
narthur authored Oct 17, 2023
2 parents f37f985 + fce99e6 commit 6133c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/404.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if (links1.length === 0 && links2.length === 0) {
}

ul.appendChild(document.createElement("li")).innerHTML =
`<a href="${cpost.slug}" title="We're suggesting this because ` +
`<a href="/${cpost.slug}" title="We're suggesting this because ` +
`“${cpost.slug}” has a Levenshtein edit distance of ${edist} from ` +
`“${sadslug}” -- the smallest in the archives. ` +
`Excerpt: ${cpost.excerpt}">` +
Expand Down

0 comments on commit 6133c0e

Please sign in to comment.