Attach anchor to fwded path in .md redirects (#5534)

This commit is contained in:
John Mulhausen 2017-12-15 15:18:06 -08:00 committed by GitHub
parent 97a1001fe9
commit 48d65690cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
404.md
View File

@ -27,7 +27,7 @@ console.log(forwardingURL);
if (forwardingURL.indexOf(".md") > -1)
{
gonnaFwd = true;
newURL = forwardingURL.replace(".md","");
newURL = forwardingURL.replace(".md","/") + location.hash;
} else {
// CSV CHECK