Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.5 KB

404.md

File metadata and controls

47 lines (35 loc) · 1.5 KB
layout title page-class hide-hire-me-link permalink lux
page
404, Not Found
page--404
true
/404.html
404

Yikes! I’m afraid it looks like this page doesn’t exist. There are a few things you can do from here:

{% assign random = site.time | date: "%s%N" | modulo: site.posts.size %}

  1. Head back to the home page
  2. Search Google for what you were looking for
  3. Browse the archives
  4. Read [{{ site.posts[random].title }}]({{ site.posts[random].url }}) ({{ site.posts[random].date | date: "%Y" }})
<script> (() => { // Let’s try guess what they might have been looking for… // Get the current URL const url = new URL(window.location.href); // Grab the 404ing path const pathname = url.pathname; // Replace any URL-like characters with spaces const formattedPath = pathname.replace(/[-_\/]+/g, ' ').trim(); // Rewrite the Google link above const anchor = document.querySelector('a[href*="google"]'); anchor.href = `https://www.google.com/search?q=site%3A${url.hostname}+${encodeURIComponent(formattedPath)}`; })(); </script>

Hopefully one of those helps you out. If not, you can always ask me on Twitter.

If you fancy just hanging around for a bit, you can read more about me and my work, you can sign up to my newsletter, or follow me on Twitter.