Fix 404 page and add redirect

This commit is contained in:
Vincevrp 2018-11-18 23:26:13 +01:00
parent 1959570e25
commit 5f0f482f35

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>