add 404 page (#1690)

* add 404 page

* apply suggestions from code review
This commit is contained in:
Sebastian Beltran
2025-01-06 10:45:51 -05:00
committed by GitHub
parent 11efa753bd
commit c2c8ccf7b3
3 changed files with 43 additions and 0 deletions

18
_layouts/404.html Normal file
View 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>