From 782aefab7ea7ae57d30b237be5823298c053136d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20Mari=C8=99?= Date: Sat, 5 Oct 2013 12:05:20 +0300 Subject: [PATCH] Redesign 404 page Changes: * simplify the overall design * remove the Google search functionality as in most cases, it does not provide much value * reduce the overall file size while keeping the gzipped size over 512 bytes to prevent IE from displaying its own custom error page (thanks @mikealmond and @patrickkettner): http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml Benefits include: * small file size (1409 bytes / 580 bytes gzipped), which is particular- ly useful when users are on a data plan and / or the server is wrongly configured (e.g.: tries to redirect to a "mobile" version of the web page and ends up serving a 404 page) or developers forget to provide certain files (e.g.: /favicon.ico - http://zoompf.com/blog/2012/04/instagram-and-optimizing-favicons) * improved performance (less HTTP requests, less memory consumption, faster rendering, etc.) * designed to work with all kinds of screen sizes and support IE 6+ Close #1443. --- 404.html | 156 ++++++++++----------------------------------------- CHANGELOG.md | 1 + 2 files changed, 30 insertions(+), 127 deletions(-) diff --git a/404.html b/404.html index fdace4ab14..00c81b5e1f 100644 --- a/404.html +++ b/404.html @@ -2,156 +2,58 @@ - Page Not Found :( + Page Not Found + -
-

Not found :(

-

Sorry, but the page you were trying to view does not exist.

-

It looks like this was the result of either:

- - - -
+

Page Not Found

+

Sorry, but the page you were trying to view does not exist.

+ diff --git a/CHANGELOG.md b/CHANGELOG.md index 96b1945535..e9489bb2c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### HEAD +* Redesign 404 page ([#1443](https://github.com/h5bp/html5-boilerplate/pull/1443)). * Remove IE 6/7 hacks from `main.css`. * Update to Normalize.css 2.1.3. * Remove IE conditional classes ([#1290](https://github.com/h5bp/html5-boilerplate/issues/1290), [#1187](https://github.com/h5bp/html5-boilerplate/issues/1187])).