From a3feb2b7e3b4599a72f2bf64c84c5ca0ec23653c Mon Sep 17 00:00:00 2001 From: neveler <55753029+neveler@users.noreply.github.com> Date: Fri, 5 Dec 2025 15:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=86=85=E5=AE=B9=E6=91=98?= =?UTF-8?q?=E8=A6=81=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E7=B4=A2=E5=BC=95?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20(#274)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 3 +- _launcher/authlib-injector.md | 1 + _launcher/auto-installing.md | 1 + _launcher/datapack.md | 1 + _launcher/isolation.md | 1 + _launcher/jvm-options-and-env.md | 1 + _launcher/offline-skin.md | 1 + _launcher/set-item-details.md | 1 + _launcher/shader.md | 1 + _modpack/error-handbook.md | 1 + _modpack/serverpack.md | 1 + _modpack/serverpack3.md | 1 + index.json | 82 +++++++------------------------- 13 files changed, 30 insertions(+), 66 deletions(-) diff --git a/_config.yml b/_config.yml index 595a939..29138c9 100644 --- a/_config.yml +++ b/_config.yml @@ -113,6 +113,7 @@ defaults: hits: true toc: true toc_sticky: true + excerpt: "" - scope: path: "" type: downloads @@ -145,7 +146,7 @@ defaults: # footnote_nr: 1 # show_warnings: false # # minimal-mistakes -# enable_coderay: false +# enable_coderay: false # Theme Settings theme: minimal-mistakes-jekyll diff --git a/_launcher/authlib-injector.md b/_launcher/authlib-injector.md index 371987e..d832e9e 100644 --- a/_launcher/authlib-injector.md +++ b/_launcher/authlib-injector.md @@ -1,5 +1,6 @@ --- title: Authlib-Injector 服务器设置指南 +excerpt: 配置默认的验证服务器 date: 2021-08-22 23:18:02 +0800 author: huanghongxun --- diff --git a/_launcher/auto-installing.md b/_launcher/auto-installing.md index 0dc2650..f625dd9 100644 --- a/_launcher/auto-installing.md +++ b/_launcher/auto-installing.md @@ -1,5 +1,6 @@ --- title: 自动安装与模组下载简介 +excerpt: 安装 Forge、Fabric、LiteLoader、OptiFine 及模组的教程 date: 2021-10-09 23:18:02 +0800 author: asdqp233 --- diff --git a/_launcher/datapack.md b/_launcher/datapack.md index 71981d9..1d9aac1 100644 --- a/_launcher/datapack.md +++ b/_launcher/datapack.md @@ -1,5 +1,6 @@ --- title: 数据包制作指南 +excerpt: 制作可以由 HMCL 导入的数据包 date: 2021-08-22 23:18:02 +0800 author: huanghongxun --- diff --git a/_launcher/isolation.md b/_launcher/isolation.md index 226f2f5..d175b4a 100644 --- a/_launcher/isolation.md +++ b/_launcher/isolation.md @@ -1,5 +1,6 @@ --- title: 全局版本隔离 +excerpt: 避免多个游戏版本的存档、模组和配置冲突 date: 2021-10-09T23:18:02+08:00 last_modified_at: 2025-12-03T14:31:42+08:00 author: LIPiston diff --git a/_launcher/jvm-options-and-env.md b/_launcher/jvm-options-and-env.md index f7ac036..fb67011 100644 --- a/_launcher/jvm-options-and-env.md +++ b/_launcher/jvm-options-and-env.md @@ -1,5 +1,6 @@ --- title: JVM 选项与环境变量 +excerpt: 配置 JVM 参数和环境变量的说明 date: 2025-04-20 23:18:02 +0800 --- diff --git a/_launcher/offline-skin.md b/_launcher/offline-skin.md index 410de8f..1145fea 100644 --- a/_launcher/offline-skin.md +++ b/_launcher/offline-skin.md @@ -1,5 +1,6 @@ --- title: 离线模式下更换皮肤 +excerpt: 使用本地皮肤文件、LittleSkin 或 Blessing Skin 设置离线皮肤 date: 2021-10-09 23:18:02 +0800 author: qiaoshouzi contributors: diff --git a/_launcher/set-item-details.md b/_launcher/set-item-details.md index 1569928..0827380 100644 --- a/_launcher/set-item-details.md +++ b/_launcher/set-item-details.md @@ -1,5 +1,6 @@ --- title: 设置项详解 +excerpt: HMCL 各项设置的详细说明,包括全局游戏设置、外观、下载等 date: 2023-6-09 10:26:00 +0800 author: MemoryShadow --- diff --git a/_launcher/shader.md b/_launcher/shader.md index 9a51724..b3694de 100644 --- a/_launcher/shader.md +++ b/_launcher/shader.md @@ -1,5 +1,6 @@ --- title: 光影 +excerpt: 光影的安装方法,包括 OptiFine、Oculus 和 Iris Shaders date: 2021-10-09 23:18:02 +0800 contributors: - hejiehao diff --git a/_modpack/error-handbook.md b/_modpack/error-handbook.md index 166f333..5703965 100644 --- a/_modpack/error-handbook.md +++ b/_modpack/error-handbook.md @@ -1,5 +1,6 @@ --- title: 模组包报错排查手册 +excerpt: 排查和解决整合包相关问题 date: 2025-05-24 13:39:36 +0800 author: LIPiston --- diff --git a/_modpack/serverpack.md b/_modpack/serverpack.md index ad9e811..6aedc5f 100644 --- a/_modpack/serverpack.md +++ b/_modpack/serverpack.md @@ -1,5 +1,6 @@ --- title: 服务端自动更新整合包制作教程 +excerpt: 创建可自动更新的服务器整合包 date: 2021-08-22 23:18:02 +0800 author: huanghongxun --- diff --git a/_modpack/serverpack3.md b/_modpack/serverpack3.md index 5d6093f..ce2e24d 100644 --- a/_modpack/serverpack3.md +++ b/_modpack/serverpack3.md @@ -1,5 +1,6 @@ --- title: Nginx作为静态资源服务器,使用HMCL启动器配置服务器客户端自动更新 +excerpt: 使用 Nginx 搭建整合包更新服务 date: 2023-01-11 14:13:45 +0800 author: buggzd --- diff --git a/index.json b/index.json index e7416c4..9d48041 100644 --- a/index.json +++ b/index.json @@ -1,67 +1,19 @@ +--- +layout: null +collections: + - name: launcher + title: 启动器 + - name: modpack + title: 整合包 +--- [ - { - "title": "启动器", - "items": [ - { - "title": "数据包制作指南", - "subtitle": "制作可以由 HMCL 导入的数据包", - "url": "https://docs.hmcl.net/launcher/datapack.html" - }, - { - "title": "光影", - "subtitle": "光影的安装方法,包括 OptiFine、Oculus 和 Iris Shaders", - "url": "https://docs.hmcl.net/launcher/shader.html" - }, - { - "title": "设置项详解", - "subtitle": "HMCL 各项设置的详细说明,包括全局游戏设置、外观、下载等", - "url": "https://docs.hmcl.net/launcher/set-item-details.html" - }, - { - "title": "离线模式下更换皮肤", - "subtitle": "使用本地皮肤文件、LittleSkin 或 Blessing Skin 设置离线皮肤", - "url": "https://docs.hmcl.net/launcher/offline-skin.html" - }, - { - "title": "自动安装与模组下载", - "subtitle": "安装 Forge、Fabric、LiteLoader、OptiFine 及模组的教程", - "url": "https://docs.hmcl.net/launcher/auto-installing.html" - }, - { - "title": "版本隔离", - "subtitle": "避免多个游戏版本的存档、模组和配置冲突", - "url": "https://docs.hmcl.net/launcher/isolation.html" - }, - { - "title": "JVM 选项与环境变量", - "subtitle": "配置 JVM 参数和环境变量的说明", - "url": "https://docs.hmcl.net/launcher/jvm-options-and-env.html" - } - ] - }, - { - "title": "整合包", - "items": [ - { - "title": "Authlib-Injector 服务器设置指南", - "subtitle": "配置默认的验证服务器", - "url": "https://docs.hmcl.net/launcher/authlib-injector.html" - }, - { - "title": "服务端自动更新整合包制作教程", - "subtitle": "创建可自动更新的服务器整合包", - "url": "https://docs.hmcl.net/modpack/serverpack.html" - }, - { - "title": "使用 HMCL 配置服务器客户端自动更新", - "subtitle": "使用 Nginx 搭建整合包更新服务", - "url": "https://docs.hmcl.net/modpack/serverpack3.html" - }, - { - "title": "模组包报错排查手册", - "subtitle": "排查和解决整合包相关问题", - "url": "https://docs.hmcl.net/modpack/error-handbook.html" - } - ] - } +{%- for collection in page.collections -%} +{"title":"{{ collection.title }}","items":[ +{%- for document in site[collection.name] -%} +{"title":"{{ document.title }}","subtitle":"{{ document.excerpt }}","url":"{{ document.url | absolute_url }}"} +{%- unless forloop.last %},{% endunless -%} +{%- endfor -%} +]} +{%- unless forloop.last %},{% endunless -%} +{%- endfor -%} ]