it-from-bit / metalsmith-geekwiki.io

Metalsmith project for geekwiki.io
http://geekwiki.io
2 stars 0 forks source link

Create Page for HTTP 404 errors #36

Open jhyland87 opened 7 years ago

jhyland87 commented 7 years ago

There should be a page that can be used for 404 errors.

  1. Use some JS to parse the window.location.pathname and search for any articles, displaying any results
  2. If the window.location.pathname ends in .html, and there's an article with that name, then show "Do you mean.." with a link to said article