mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-22 03:51:33 +00:00
add 404 page (#1690)
* add 404 page * apply suggestions from code review
This commit is contained in:
committed by
GitHub
parent
11efa753bd
commit
c2c8ccf7b3
18
_layouts/404.html
Normal file
18
_layouts/404.html
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user