-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from sass/404
Support a real 404 page.
- Loading branch information
Showing
7 changed files
with
58 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: "Not found :(" | ||
--- | ||
|
||
- content_for :css do | ||
= stylesheet_link_tag "404" | ||
|
||
- content_for :introduction do | ||
Sorry, but the page you were trying to view does not exist. | ||
|
||
%p It looks like this was the result of either: | ||
%ul | ||
%li a mistyped address | ||
%li an out-of-date link | ||
|
||
- content_for :complementary do | ||
:javascript | ||
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host; | ||
%script(src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@import "compass"; | ||
@import "breakpoint"; | ||
|
||
@import "dependencies/layout"; | ||
@import "dependencies/color"; | ||
|
||
@import "foundation/forms"; | ||
|
||
@import "components/forms"; | ||
@import "components/buttons"; | ||
|
||
#goog-fixurl .content { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
#goog-wm-sb { | ||
@extend .button; | ||
@extend .primary; | ||
@include leader; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
= stylesheet_link_tag "sass" | ||
- if content_for?(:css) | ||
= yield_content :css |
d34e931
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh weird. That looked fine locally but in prod doesn't look so good. No idea how to roll back deploys. :P