diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-11-09 15:45:48 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-11-09 15:45:48 -0500 |
| commit | e92bad1fca8a2b6290af5dc73746f1acc72cfaf0 (patch) | |
| tree | 216e4b3756ff4cf74c1c3b69c7246447c1b512a7 /404.html | |
| parent | 7e6bb45d42517833be78a058dfd803f90cc7bd19 (diff) | |
| download | alp-website-e92bad1fca8a2b6290af5dc73746f1acc72cfaf0.tar.gz alp-website-e92bad1fca8a2b6290af5dc73746f1acc72cfaf0.tar.bz2 alp-website-e92bad1fca8a2b6290af5dc73746f1acc72cfaf0.zip | |
Porting the website to jekyll....
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 |
