Remove `404.html`
Providing a 404.html page doesn't make much sense for this project as users will need to configure their server in order for the page to be actually used. In HTML5 Boilerplate, the idea is that the server configs (Apache or the alternatives) will basically ensure that the user's server will return the `404.html` page in case of an 404 error. Also, with HTML5 Boilerplate, we've seen that users quite often forget to change/replace the default 404 page.master
parent
dd3d8c7d7a
commit
d10d73464b
55
app/404.html
55
app/404.html
|
@ -1,55 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Page Not Found</title>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
|
|
||||||
<style>
|
|
||||||
* {
|
|
||||||
line-height: 1.5;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
|
||||||
color: #888;
|
|
||||||
font-family: sans-serif;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
left: 50%;
|
|
||||||
margin: -43px 0 0 -150px;
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
width: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
color: #555;
|
|
||||||
font-size: 2em;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
line-height: 1.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 270px) {
|
|
||||||
body {
|
|
||||||
margin: 10px auto;
|
|
||||||
position: static;
|
|
||||||
width: 95%;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Page Not Found</h1>
|
|
||||||
<p>Sorry, but the page you were trying to view does not exist.</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue