优化主页 (#414)

This commit is contained in:
neveler 2026-03-10 18:28:57 +08:00 committed by GitHub
parent 752e6975cb
commit 3ac9fc467a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 22 deletions

View File

@ -1,19 +0,0 @@
---
layout: document
---
{{ content }}
{% capture list %}
{% for group in site.data.navigation.docs -%}
## {{ group.title }}
{% for item in group.children -%}
1. [{{ item.title }}]({{ item.url | relative_url }})
{%- if item.description %}\
{{ item.description }}
{%- endif %}
{% endfor %}
{% endfor %}
{% endcapture %}
{{ list | markdownify }}

View File

@ -1,7 +1,6 @@
--- ---
layout: home layout: splash
title: HMCL 新手导航 title: 新手导航
author: wifi-left
--- ---
<!--{% comment %}--> <!--{% comment %}-->
@ -18,3 +17,15 @@ author: wifi-left
> [!NOTE] > [!NOTE]
> 如果您遇到 BUG请及时在 [HMCL/issues](https://github.com/HMCL-dev/HMCL/issues) 发送反馈。\ > 如果您遇到 BUG请及时在 [HMCL/issues](https://github.com/HMCL-dev/HMCL/issues) 发送反馈。\
> 您也可以在这里提交您的建议。 > 您也可以在这里提交您的建议。
{% include toc %}
{% for group in site.data.navigation.docs -%}
## {{ group.title }}
{% for item in group.children -%}
1. [{{ item.title }}]({{ item.url | relative_url }})
{%- if item.description %}\
{{ item.description }}
{%- endif %}
{% endfor %}
{% endfor %}