Merge pull request #601 from Vincevrp/404-fix

Fix 404 page and add redirect
This commit is contained in:
Samuel Shifterovich 2018-11-19 06:53:58 +01:00 committed by GitHub
commit f798f5a4ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,23 +2,12 @@
layout: default
---
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<div class="container text-center">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
<p>We're redirecting you to the home page in 5 seconds. It this doesn't work, <a href="{{ site.url }}">click here.</a></p>
</div>
<script>
window.setTimeout(function(){ window.location = "{{ site.url }}"; },5000);
</script>