mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
49 lines
1.1 KiB
HTML
49 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
{% if page.lang %}
|
|
<html lang="{{ page.lang }}" prefix="og: http://ogp.me/ns#">
|
|
|
|
{% 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-box doc-notice">
|
|
{% include i18n-notice.html %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if page.layout == 'middleware' %}
|
|
<div class="content flex-row-content">
|
|
{{ content }}
|
|
</div>
|
|
{% else %}
|
|
<div class="content">
|
|
<main>
|
|
{{ content }}
|
|
<a role="button" class="edit-github-btn" href="{{ site.github.repository_url }}/edit/gh-pages/{{ page.path }}" aria-label="GitHub button">
|
|
<span class="hidden-dark">
|
|
{% include icons/github-light.svg %}
|
|
</span>
|
|
<span class="hidden-light">
|
|
{% include icons/github-dark.svg %}
|
|
</span>
|
|
Edit this page</a>
|
|
</main>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% include footer.html %}
|
|
|
|
</body>
|
|
|
|
</html>
|
|
{% endif %}
|