web/_layouts/default.html

77 lines
1.9 KiB
HTML
Raw Normal View History

2019-09-30 15:38:41 +03:00
---
layout: compress
# Default layout
---
<!doctype html>
{% include origin-type.html %}
{% include lang.html %}
{% capture prefer_mode %}
2020-12-06 20:14:40 +03:00
{% if site.theme_mode %}
data-mode="{{ site.theme_mode }}"
2020-12-06 20:14:40 +03:00
{% endif %}
{% endcapture %}
<!-- `site.alt_lang` can specify a language different from the UI -->
<html lang="{{ site.alt_lang | default: site.lang }}" {{ prefer_mode }}>
2019-09-30 15:38:41 +03:00
{% include head.html %}
<body>
{% include sidebar.html lang=lang %}
2020-04-16 19:26:58 +03:00
<div id="main-wrapper" class="d-flex justify-content-center">
<div id="main" class="container px-xxl-5">
{% include topbar.html lang=lang %}
2021-12-01 16:48:57 +03:00
{{ content }}
{% include search-results.html lang=lang %}
2019-09-30 15:38:41 +03:00
</div>
</div>
2020-04-16 19:26:58 +03:00
{% include footer.html lang=lang %}
2019-09-30 15:38:41 +03:00
<div id="mask"></div>
<a id="back-to-top" href="#" aria-label="back-to-top" class="btn btn-lg btn-box-shadow" role="button">
2019-09-30 15:38:41 +03:00
<i class="fas fa-angle-up"></i>
</a>
2019-11-25 15:56:50 +03:00
{% if site.pwa.enabled %}
<div
id="notification"
class="toast"
role="alert"
aria-live="assertive"
aria-atomic="true"
data-bs-animation="true"
data-bs-autohide="false"
>
<div class="toast-header">
<button
type="button"
class="btn-close ms-auto"
data-bs-dismiss="toast"
aria-label="Close"
></button>
</div>
<div class="toast-body text-center pt-0">
<p class="px-2 mb-3">{{ site.data.locales[lang].notification.update_found }}</p>
<button type="button" class="btn btn-primary" aria-label="Update">
{{ site.data.locales[lang].notification.update }}
</button>
</div>
</div>
{% endif %}
2021-07-01 11:20:36 +03:00
{% include js-selector.html %}
{% if page.mermaid %}
{% include mermaid.html %}
{% endif %}
{% include search-loader.html %}
2019-09-30 15:38:41 +03:00
</body>
</html>