diff options
Diffstat (limited to '404.html')
| -rw-r--r-- | 404.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/404.html b/404.html new file mode 100644 index 0000000..7bcdc9f --- /dev/null +++ b/404.html @@ -0,0 +1,23 @@ +--- +title: 404 +layout: default-none +permalink: /404 +--- + <div class="text-center mt-3"> + <h1>404 - Not Found</h1> + <h2 id="404message"></h2> + <h3>Return to <a href="/" class="green-text">homepage</a>?</h3> + </div> + <script> + function randomtext() { + let randomtxt = [ + 'Oops, seems like that page isn\'t found!', + 'You seem to be lost!', + 'Uh oh, that page isn\'t found in our servers!', + 'Seems like you landed on this page...' + ]; + return randomtxt[Math.floor((Math.random() * 4.00))]; + } + + document.getElementById("404message").innerHTML = randomtext(); + </script>
\ No newline at end of file |
