-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdefault.html
More file actions
42 lines (35 loc) · 1.53 KB
/
default.html
File metadata and controls
42 lines (35 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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 preview">当前站点为预览构建而非官方文档。如需反馈问题,请前往 <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>