Skip to content

Latest commit

 

History

History
64 lines (56 loc) · 2.05 KB

404.md

File metadata and controls

64 lines (56 loc) · 2.05 KB
title permalink noratings notoc tree
Sorry, we can't find that page
/404.html
true
true
false

We tried to forward you to where we think you might be going, but we couldn't find a good match. You've got some choices:

<script language="JavaScript"> var forwardingURL=window.location.pathname; if (forwardingURL.charAt(forwardingURL.length - 1) != "/") forwardingURL += "/"; var gonnaFwd = false; var newURL = ""; var baseURL = ""; var archive = false; console.log(forwardingURL); // .MD EXTENSION CHECK if (forwardingURL.indexOf(".md") > -1) { gonnaFwd = true; newURL = forwardingURL.replace(".md",""); } else { // CSV CHECK {% for item in site.data.redirects %} var redirectVal = {{ item | jsonify }}; if (forwardingURL == redirectVal.source) { console.log("Found via CSV @ ", redirectVal.source, redirectVal.destination); gonnaFwd = true; newURL = forwardingURL.replace(redirectVal.source,redirectVal.destination); } {% endfor %} } // end of check for .md var path = window.location.pathname.replace("#",""); var phrase = decodeURIComponent(path.replace(/\/+/g, ' ').trim()); if (gonnaFwd) { newURL = baseURL + newURL; console.log("Forwarding to: " + newURL); window.location.replace(newURL); window.location.href = newURL; document.write('') } else { console.log("Showing 404 choices"); var ghIssueQueryString = "title=404%20at%20" + path + "&body=URL%3A%20" + path; var output = new Array(); output.push(""); document.getElementById('sorryMsg').innerHTML = output.join(""); } </script>