Skip to content

Commit cfc0f91

Browse files
committed
update
1 parent 5311301 commit cfc0f91

24 files changed

+49
-42
lines changed
Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
---
22
import DefaultPageTitle from "@astrojs/starlight/components/PageTitle.astro";
33
4-
const { author, contributors } = Astro.locals.starlightRoute.entry.data;
4+
const { contributors } = Astro.locals.starlightRoute.entry.data;
55
---
66

77
<DefaultPageTitle />
88

99
{
10-
(author !== undefined || (Array.isArray(contributors) && contributors.length > 0)) && (
11-
<div>
12-
{author !== undefined && (
13-
<p>
14-
{Astro.locals.t("page.author")} {author}
15-
</p>
16-
)}
17-
{Array.isArray(contributors) && contributors.length > 0 && (
18-
<p>
19-
<strong>{Astro.locals.t("page.contributors")}</strong> {contributors.join(" ")}
20-
</p>
21-
)}
22-
</div>
10+
Array.isArray(contributors) && contributors.length > 0 && (
11+
<p>
12+
<strong>{Astro.locals.t("page.contributors")}</strong> {contributors.join(" ")}
13+
</p>
2314
)
2415
}

src/content.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const collections = {
99
loader: docsLoader(),
1010
schema: docsSchema({
1111
extend: z.object({
12-
author: z.string().optional(),
1312
contributors: z.array(z.string()).optional(),
1413
}),
1514
}),
@@ -18,7 +17,6 @@ export const collections = {
1817
loader: i18nLoader(),
1918
schema: i18nSchema({
2019
extend: z.object({
21-
"page.author": z.string(),
2220
"page.contributors": z.string(),
2321
}),
2422
}),

src/content/docs/guides/contribution.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 贡献指南
3-
author: huanghongxun
3+
contributors:
4+
- huanghongxun
45
tableOfContents: false
56
lastUpdated: 2021-10-09T23:18:02+08:00
67
---

src/content/docs/guides/crash-support-group.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: 加入 HMCL 报错崩溃交流群
33
description: HMCL 报错崩溃交流群仅处理游戏报错与崩溃问题
4-
author: zkitefly
4+
contributors:
5+
- zkitefly
56
tableOfContents: false
67
lastUpdated: 2024-03-05T17:00:00+08:00
78
---

src/content/docs/guides/faq.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: 各大问题集合
3-
author: LIPiston
4-
contributors: [Mine-diamond]
3+
contributors:
4+
- LIPiston
5+
- Mine-diamond
56
lastUpdated: 2025-09-19T13:40:00+08:00
67
---
78

src/content/docs/guides/groups.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
title: 加入 HMCL 用户群
3-
author: Glavo
4-
contributors: [8Mi_Yile, zkitefly]
3+
contributors:
4+
- Glavo
5+
- 8Mi_Yile
6+
- zkitefly
57
lastUpdated: 2024-03-05T17:00:00+08:00
68
---
79

src/content/docs/guides/help.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 寻求帮助
3-
author: zkitefly
3+
contributors:
4+
- zkitefly
45
tableOfContents: false
56
lastUpdated: 2023-08-09T11:12:00+08:00
67
---

src/content/docs/launcher/authlib-injector.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Authlib-Injector 服务器设置指南
33
description: 配置默认的验证服务器
4-
author: huanghongxun
4+
contributors:
5+
- huanghongxun
56
lastUpdated: 2021-08-22T23:18:02+08:00
67
---
78

src/content/docs/launcher/auto-installing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: 自动安装与模组下载简介
33
description: 安装 Forge、Fabric、LiteLoader、OptiFine 及模组的教程
4-
author: asdqp233
4+
contributors:
5+
- asdqp233
56
lastUpdated: 2021-10-09T23:18:02+08:00
67
---
78

src/content/docs/launcher/datapack.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: 数据包制作指南
33
description: 制作可以由 HMCL 导入的数据包
4-
author: huanghongxun
4+
contributors:
5+
- huanghongxun
56
lastUpdated: 2021-08-22T23:18:02+08:00
67
---
78

0 commit comments

Comments
 (0)