Skip to content

Commit 9b115e2

Browse files
authored
Bump minimal-mistakes to 4.28.0
1 parent 4391943 commit 9b115e2

File tree

8 files changed

+55
-33
lines changed

8 files changed

+55
-33
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source "https://rubygems.org"
88
# This will help ensure the proper Jekyll version is running.
99
# Happy Jekylling!
1010
gem "jekyll", "4.4.1"
11-
gem "minimal-mistakes-jekyll", "4.27.3"
11+
gem "minimal-mistakes-jekyll", "4.28.0"
1212

1313
group :jekyll_plugins do
1414
gem "jekyll-paginate", "1.1.0"

_data/settings.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ appearance_skin_light:
1919
- mint
2020
- plum
2121
- sunrise
22+
- catppuccin_latte
23+
- catppuccin_mocha
2224
appearance_skin_dark:
2325
type: radio
2426
default: dark
@@ -33,3 +35,5 @@ appearance_skin_dark:
3335
- mint
3436
- plum
3537
- sunrise
38+
- catppuccin_latte
39+
- catppuccin_mocha

_includes/head.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
{% assign locale = include.locale | default: site.locale %}
12
<meta charset="utf-8">
23

3-
{% include seo.html %}
4+
{% include seo.html locale=locale %}
45

56
{% unless site.atom_feed.hide %}
67
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">

_layouts/default.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
layout: compress
33
---
4+
{%- assign locale = page.locale | default: layout.locale | default: site.locale %}
45

56
<!doctype html>
67
{% include copyright.html %}
7-
<html lang="{{ site.locale | replace: "_", "-" | default: "en" }}" class="no-js">
8+
<html lang="{{ locale | replace: "_", "-" | default: "en" }}" class="no-js">
89
<head>
9-
{% include head.html %}
10+
{% include head.html locale=locale %}
1011
{% include head/custom.html %}
1112
</head>
1213

@@ -15,8 +16,8 @@
1516
<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>
1617
{% endif %}
1718

18-
{% include_cached skip-links.html %}
19-
{% include_cached masthead.html %}
19+
{% include_cached skip-links.html locale=locale %}
20+
{% include_cached masthead.html locale=locale %}
2021

2122
<div class="initial-content">
2223
{{ content }}
@@ -25,17 +26,17 @@
2526

2627
{% if site.search == true %}
2728
<div class="search-content">
28-
{% include_cached search/search_form.html %}
29+
{% include_cached search/search_form.html locale=locale %}
2930
</div>
3031
{% endif %}
3132

3233
<div id="footer" class="page__footer">
3334
<footer>
3435
{% include footer/custom.html %}
35-
{% include_cached footer.html %}
36+
{% include_cached footer.html locale=locale %}
3637
</footer>
3738
</div>
3839

39-
{% include scripts.html %}
40+
{% include scripts.html locale=locale %}
4041
</body>
4142
</html>

_sass/minimal-mistakes-plus.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ blockquote {
1111
word-break: break-word;
1212
}
1313

14-
.notice ul:first-child {
15-
margin-top: 0;
16-
}
17-
1814
.task-list-item label {
1915
display: inline
2016
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
---
3+
4+
@charset "utf-8";
5+
6+
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
7+
@import "minimal-mistakes/skins/catppuccin_latte";
8+
@import "minimal-mistakes-plus";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
---
3+
4+
@charset "utf-8";
5+
6+
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
7+
@import "minimal-mistakes/skins/catppuccin_mocha";
8+
@import "minimal-mistakes-plus";

settings.yaml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,32 @@ data:
1616
title: 亮色皮肤
1717
description: 亮色模式下应用的皮肤。
1818
options:
19-
default: 默认
20-
air: 天空
21-
aqua: 水蓝
22-
contrast: 高对比
23-
dark: 暗色
24-
dirt: 泥土
25-
neon: 霓虹
26-
mint: 薄荷
27-
plum: 梅紫
28-
sunrise: 日出
19+
default: 默认 (Default)
20+
air: 天空 (Air)
21+
aqua: 水蓝 (Aque)
22+
contrast: 高对比 (Contrast)
23+
dark: 暗色 (Dark)
24+
dirt: 泥土 (Dirt)
25+
neon: 霓虹 (Neno)
26+
mint: 薄荷 (Mint)
27+
plum: 梅紫 (Plum)
28+
sunrise: 日出 (Sunrise)
29+
catppuccin_latte: Catppuccin Latte
30+
catppuccin_mocha: Catppuccin Mocha
2931
appearance_skin_dark:
3032
title: 暗色皮肤
3133
description: 暗色模式下应用的皮肤。
3234
options:
33-
default: 默认
34-
air: 天空
35-
aqua: 水蓝
36-
contrast: 高对比
37-
dark: 暗色
38-
dirt: 泥土
39-
neon: 霓虹
40-
mint: 薄荷
41-
plum: 梅紫
42-
sunrise: 日出
35+
default: 默认 (Default)
36+
air: 天空 (Air)
37+
aqua: 水蓝 (Aque)
38+
contrast: 高对比 (Contrast)
39+
dark: 暗色 (Dark)
40+
dirt: 泥土 (Dirt)
41+
neon: 霓虹 (Neno)
42+
mint: 薄荷 (Mint)
43+
plum: 梅紫 (Plum)
44+
sunrise: 日出 (Sunrise)
45+
catppuccin_latte: Catppuccin Latte
46+
catppuccin_mocha: Catppuccin Mocha
4347
---

0 commit comments

Comments
 (0)