Skip to content

Latest commit

 

History

History
77 lines (69 loc) · 2.48 KB

404.md

File metadata and controls

77 lines (69 loc) · 2.48 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 { // DOCS ARCHIVE CHECK {% for item in site.data.docsarchive.docker-compose %} if (forwardingURL == "/{{ item[0] }}/") { console.log("Found via Docker Compose file for Archive"); gonnaFwd = true; archive = true; // make it so redirects cascade; first, use the base URL, then append path baseURL = "{{ site.url }}"; newURL = forwardingURL; }{% endfor %} if (archive==false) { // 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 archive } // 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>