Files
expressjs.com/_layouts/home.html
shubham oulkar 90e5a311da chore: ♻️ remove jquery (#1964)
* add scroll-to-top and scroll class toggle with vanilla JS

* add language detection

* add  i18n

* Fix bug: there was no class hidden in CSS. Notice was hidden by hide(). Now HTML hidden attribute is used to hide notice using CSS. This improves A11y.

* fix flashing of i18n notice and improve a11y

* add menu highlighting on scroll

* ♻️ remove jquery

* defer app.js

Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>

* remove DOMContentLoaded and fix root margin to 25%

---------

Co-authored-by: bjohansebas <103585995+bjohansebas@users.noreply.github.com>
2025-08-01 19:47:30 -05:00

30 lines
534 B
HTML

<!DOCTYPE html>
<html class="light-mode" lang="{{ page.lang }}">
{% include head.html %}
{% if page.lang == 'en' %}
<body class="en-doc">
{% else %}
<body class="non-en-doc">
{% endif %}
{% include header.html %}
<div id="overlay"></div>
{% if page.lang != 'en' %}
<div id="i18n-notice-box" class="doc-notice" hidden>
{% include i18n-notice.html %}
</div>
{% endif %}
<main class="home">
{{ content }}
</main>
{% include footer.html %}
</body>
</html>