-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add 404 page * apply suggestions from code review
- Loading branch information
1 parent
11efa75
commit c2c8ccf
Showing
3 changed files
with
43 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: 404 | ||
title: Page not found | ||
description: We couldn’t find the page you’re looking for. | ||
lang: en | ||
--- | ||
|
||
# {{ page.title }} | ||
|
||
We couldn’t find the page you’re looking for. Check the address or [head back home](/). | ||
|
||
If this is a mistake, [let us know](https://github.com/expressjs/expressjs.com/issues/new/), and we will try to fix it! |
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,18 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
{% include head.html %} | ||
|
||
{% if page.lang == 'en' %} | ||
<body class="en-doc"> | ||
{% else %} | ||
<body class="non-en-doc"> | ||
{% endif %} | ||
{% include header/header-{{ page.lang }}.html %} | ||
<div id="overlay"></div> | ||
<main class="content-404"> | ||
{{ content }} | ||
</main> | ||
{% include footer/footer-{{ page.lang }}.html %} | ||
</body> | ||
</html> |
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