HMCL-docs/_layouts/default.html
neveler b12add2489
All checks were successful
continuous-integration/drone/push Build is passing
Bump minimal-mistakes to 4.28.0 (#418)
2026-04-02 08:47:21 +08:00

43 lines
1.6 KiB
HTML

---
layout: compress
---
{%- assign locale = page.locale | default: layout.locale | default: site.locale %}
<!doctype html>
{% include copyright.html %}
<html lang="{{ locale | replace: "_", "-" | default: "en" }}" class="no-js">
<head>
{% include head.html locale=locale %}
{% include head/custom.html %}
</head>
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}" dir="{% if site.rtl %}rtl{% else %}ltr{% endif %}">
{% if site.preview and site.preview.pr-number %}
<div class="notice--warning text-center m0" style="position: sticky; top: 0; z-index: 999; padding: 0.4em;">当前站点为预览构建而非官方文档。如需反馈问题,请前往 <a href="https://github.com/HMCL-dev/HMCL-docs/pull/{{ site.preview.pr-number }}">#{{ site.preview.pr-number }}</a> 留言。</div>
{% endif %}
{% include_cached skip-links.html locale=locale %}
{% include_cached masthead.html locale=locale %}
<div class="initial-content">
{{ content }}
{% include after-content.html %}
</div>
{% if site.search == true %}
<div class="search-content">
{% include_cached search/search_form.html locale=locale %}
</div>
{% endif %}
<div id="footer" class="page__footer">
<footer>
{% include footer/custom.html %}
{% include_cached footer.html locale=locale %}
</footer>
</div>
{% include scripts.html locale=locale %}
</body>
</html>