From 0e51c1de26334639cd1fec34e75ff4b69ed60272 Mon Sep 17 00:00:00 2001 From: Glavo Date: Tue, 4 Nov 2025 20:51:20 +0800 Subject: [PATCH 01/32] Add jekyll-polyglot plugin --- Gemfile | 1 + _config.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/Gemfile b/Gemfile index d7ce7365..15862b0d 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,7 @@ group :jekyll_plugins do gem "jekyll-feed", "0.17.0" gem "jekyll-include-cache", "0.2.1" gem "jekyll-redirect-from", "0.16.0" + gem "jekyll-polyglot", "1.11.0" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/_config.yml b/_config.yml index a0494991..affba983 100644 --- a/_config.yml +++ b/_config.yml @@ -67,6 +67,7 @@ plugins: - jekyll-feed - jekyll-include-cache - jekyll-redirect-from + - jekyll-polyglot # minimal-mistakes (mimic GitHub Pages with --safe) whitelist: - jekyll-paginate From 9afb2abc5d4979f2efdeb8998d1b86afe828e456 Mon Sep 17 00:00:00 2001 From: Glavo Date: Tue, 4 Nov 2025 21:30:53 +0800 Subject: [PATCH 02/32] update _downloads --- _config.yml | 9 +++++- _downloads/linux/arm32.md | 10 ++---- _downloads/linux/arm32_zh.md | 12 +++++++ _downloads/linux/arm64.md | 10 ++---- _downloads/linux/arm64_zh.md | 12 +++++++ .../{loongarch64.md => loongarch64_zh.md} | 2 ++ _downloads/linux/riscv64.md | 10 ++---- _downloads/linux/riscv64_zh.md | 12 +++++++ _downloads/linux/x86.md | 10 ++---- _downloads/linux/x86_64.md | 16 +++------- _downloads/linux/x86_64_zh.md | 12 +++++++ _downloads/linux/x86_zh.md | 12 +++++++ _downloads/macos/arm64.md | 11 ++----- _downloads/macos/arm64_zh.md | 19 ++++++++++++ _downloads/macos/x86_64.md | 10 ++---- _downloads/macos/x86_64_zh.md | 21 +++++++++++++ _downloads/windows/arm64.md | 14 ++------- _downloads/windows/arm64_zh.md | 29 +++++++++++++++++ _downloads/windows/x86.md | 2 ++ _downloads/windows/x86_64.md | 14 ++------- _downloads/windows/x86_64_zh.md | 27 ++++++++++++++++ _downloads/windows/x86_zh.md | 31 +++++++++++++++++++ 22 files changed, 220 insertions(+), 85 deletions(-) create mode 100644 _downloads/linux/arm32_zh.md create mode 100644 _downloads/linux/arm64_zh.md rename _downloads/linux/{loongarch64.md => loongarch64_zh.md} (96%) create mode 100644 _downloads/linux/riscv64_zh.md create mode 100644 _downloads/linux/x86_64_zh.md create mode 100644 _downloads/linux/x86_zh.md create mode 100644 _downloads/macos/arm64_zh.md create mode 100644 _downloads/macos/x86_64_zh.md create mode 100644 _downloads/windows/arm64_zh.md create mode 100644 _downloads/windows/x86_64_zh.md create mode 100644 _downloads/windows/x86_zh.md diff --git a/_config.yml b/_config.yml index affba983..730e0d94 100644 --- a/_config.yml +++ b/_config.yml @@ -138,13 +138,20 @@ defaults: # # minimal-mistakes # enable_coderay: false +# polyglot +languages: ["en", "zh"] +default_lang: "en" +exclude_from_localization: + - assets + - _docs + - launcher + # Theme Settings theme: minimal-mistakes-jekyll minimal_mistakes_skin: default # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise" minimal_mistakes_skin_dark: dark # Site Settings -locale: zh # rtl: title: HMCL 文档 # title_separator: - diff --git a/_downloads/linux/arm32.md b/_downloads/linux/arm32.md index 4ec6a13a..28d9571f 100644 --- a/_downloads/linux/arm32.md +++ b/_downloads/linux/arm32.md @@ -1,14 +1,8 @@ --- title: 下载适用于 Linux ARM32 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 - -[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre-full&bitness=32&architecture=arm#:~:text=All%20versions) - -或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 - +lang: en +permalink: downloads/linux/arm32 --- Click one of the following links to download Java, and then use the package or extract it manually to install Java. diff --git a/_downloads/linux/arm32_zh.md b/_downloads/linux/arm32_zh.md new file mode 100644 index 00000000..3a6cdd38 --- /dev/null +++ b/_downloads/linux/arm32_zh.md @@ -0,0 +1,12 @@ +--- +title: 下载适用于 Linux ARM32 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/linux/arm32 +--- + +点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 + +[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre-full&bitness=32&architecture=arm#:~:text=All%20versions) + +或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 diff --git a/_downloads/linux/arm64.md b/_downloads/linux/arm64.md index 5a4803ae..eef2729c 100644 --- a/_downloads/linux/arm64.md +++ b/_downloads/linux/arm64.md @@ -1,14 +1,8 @@ --- title: 下载适用于 Linux ARM64 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 - -[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre-full&bitness=64&architecture=arm#:~:text=All%20versions) - -或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 - +lang: en +permalink: downloads/linux/arm64 --- Click one of the following links to download Java, and then use the package or extract it manually to install Java. diff --git a/_downloads/linux/arm64_zh.md b/_downloads/linux/arm64_zh.md new file mode 100644 index 00000000..7f504d65 --- /dev/null +++ b/_downloads/linux/arm64_zh.md @@ -0,0 +1,12 @@ +--- +title: 下载适用于 Linux ARM64 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/linux/arm64 +--- + +点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 + +[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre-full&bitness=64&architecture=arm#:~:text=All%20versions) + +或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 diff --git a/_downloads/linux/loongarch64.md b/_downloads/linux/loongarch64_zh.md similarity index 96% rename from _downloads/linux/loongarch64.md rename to _downloads/linux/loongarch64_zh.md index 79b52572..a1ca173b 100644 --- a/_downloads/linux/loongarch64.md +++ b/_downloads/linux/loongarch64_zh.md @@ -3,6 +3,8 @@ title: 下载 HMCL 和 Minecraft 依赖的 Java date: 2023-09-05 14:00:00 +0800 redirect_from: - /downloads/loongnix.html +lang: zh +permalink: downloads/linux/loongarch64 --- 龙芯平台存在 “**新世界**” 和 “**旧世界**” 两个 ABI,不同 ABI 的 Java 暂时互不兼容。 diff --git a/_downloads/linux/riscv64.md b/_downloads/linux/riscv64.md index 359cdab0..6349bd9c 100644 --- a/_downloads/linux/riscv64.md +++ b/_downloads/linux/riscv64.md @@ -1,14 +1,8 @@ --- title: 下载适用于 Linux RISC-V 64 的 HMCL 和 Minecraft 依赖的 Java date: 2024-10-06 22:00:00 +0800 ---- - -点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 - -[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre&bitness=64&architecture=riscv#:~:text=All%20versions) - -或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 - +lang: en +permalink: downloads/linux/riscv64 --- Click one of the following links to download Java, and then use the package or extract it manually to install Java. diff --git a/_downloads/linux/riscv64_zh.md b/_downloads/linux/riscv64_zh.md new file mode 100644 index 00000000..2bde7e5b --- /dev/null +++ b/_downloads/linux/riscv64_zh.md @@ -0,0 +1,12 @@ +--- +title: 下载适用于 Linux RISC-V 64 的 HMCL 和 Minecraft 依赖的 Java +date: 2024-10-06 22:00:00 +0800 +lang: zh +permalink: downloads/linux/riscv64 +--- + +点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 + +[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre&bitness=64&architecture=riscv#:~:text=All%20versions) + +或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 diff --git a/_downloads/linux/x86.md b/_downloads/linux/x86.md index 58efb4e2..c80b330b 100644 --- a/_downloads/linux/x86.md +++ b/_downloads/linux/x86.md @@ -1,14 +1,8 @@ --- title: 下载适用于 Linux x86 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 - -[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre&bitness=32&architecture=x86#:~:text=All%20versions) - -或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 - +lang: en +permalink: downloads/linux/x86 --- Click one of the following links to download Java, and then use the package or extract it manually to install Java. diff --git a/_downloads/linux/x86_64.md b/_downloads/linux/x86_64.md index d4dcb84a..3e1728a8 100644 --- a/_downloads/linux/x86_64.md +++ b/_downloads/linux/x86_64.md @@ -1,18 +1,12 @@ --- -title: 下载适用于 Linux x86_64 的 HMCL 和 Minecraft 依赖的 Java +title: Download HMCL and Minecraft Dependencies Java for Linux x86_64 date: 2022-12-03 17:30:00 +0800 +lang: en +permalink: downloads/linux/x86_64 --- -点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 - -[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre-full&bitness=64&architecture=x86#:~:text=All%20versions) - -或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 - ---- - -Click one of the following links to download Java, and then use the package or extract it manually to install Java. +Click one of the following links to download Java, then use the package or extract it manually to install Java. [Link](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre-full&bitness=64&architecture=x86#:~:text=All%20versions) -Or you can add the repository to the package manager according to the [instruction](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux). \ No newline at end of file +Alternatively, you can add the repository to your package manager by following the [instructions](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux). \ No newline at end of file diff --git a/_downloads/linux/x86_64_zh.md b/_downloads/linux/x86_64_zh.md new file mode 100644 index 00000000..b765d681 --- /dev/null +++ b/_downloads/linux/x86_64_zh.md @@ -0,0 +1,12 @@ +--- +title: 下载适用于 Linux x86_64 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/linux/x86_64 +--- + +点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 + +[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre-full&bitness=64&architecture=x86#:~:text=All%20versions) + +或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 diff --git a/_downloads/linux/x86_zh.md b/_downloads/linux/x86_zh.md new file mode 100644 index 00000000..6b319566 --- /dev/null +++ b/_downloads/linux/x86_zh.md @@ -0,0 +1,12 @@ +--- +title: 下载适用于 Linux x86 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/linux/x86 +--- + +点下面的链接以下载 Java ,然后使用软件包管理器或者手动解压安装。 + +[链接](https://bell-sw.com/pages/downloads/?version=java-21&os=linux&package=jre&bitness=32&architecture=x86#:~:text=All%20versions) + +或者你也可以根据[教程](https://docs.bell-sw.com/liberica-jdk/latest/general/install-guide/#linux)来添加仓库到你的软件包管理器。 diff --git a/_downloads/macos/arm64.md b/_downloads/macos/arm64.md index e52de710..bce1aad7 100644 --- a/_downloads/macos/arm64.md +++ b/_downloads/macos/arm64.md @@ -1,14 +1,8 @@ --- title: 下载适用于 macOS ARM64 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -正在前往 Java 下载页面,请向下滚动点击 `DMG` 安装包下载按钮,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 - -![macos-arm64-1](/assets/img/docs/java-download-pages/macos-arm64-1.gif) - -没有下载?[点击此处开始下载](https://bell-sw.com/pages/downloads/?version=java-21&os=macos&architecture=arm&package=jre-full&bitness=64#:~:text=All%20versions) - +lang: en +permalink: downloads/macos/arm64 --- You are going to the Java download page. Please scroll down and click `DMG` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. @@ -17,7 +11,6 @@ No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloa + diff --git a/_downloads/macos/x86_64.md b/_downloads/macos/x86_64.md index acc4e63b..f34bccf8 100644 --- a/_downloads/macos/x86_64.md +++ b/_downloads/macos/x86_64.md @@ -1,14 +1,8 @@ --- title: 下载适用于 macOS x86_64 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -正在前往 Java 下载页面,请向下滚动点击 `DMG` 安装包下载按钮,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 - -![macos-x86_64-1](/assets/img/docs/java-download-pages/macos-x86_64-1.gif) - -没有下载?[点击此处开始下载](https://bell-sw.com/pages/downloads/?version=java-21&os=macos&architecture=x86&package=jre-full&bitness=64#:~:text=All%20versions) - +lang: en +permalink: downloads/macos/x86_64 --- You are going to the Java download page. Please scroll down and click `DMG` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. diff --git a/_downloads/macos/x86_64_zh.md b/_downloads/macos/x86_64_zh.md new file mode 100644 index 00000000..662d2fa3 --- /dev/null +++ b/_downloads/macos/x86_64_zh.md @@ -0,0 +1,21 @@ +--- +title: 下载适用于 macOS x86_64 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/macos/x86_64 +--- + +正在前往 Java 下载页面,请向下滚动点击 `DMG` 安装包下载按钮,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 + +![macos-x86_64-1](/assets/img/docs/java-download-pages/macos-x86_64-1.gif) + +没有下载?[点击此处开始下载](https://bell-sw.com/pages/downloads/?version=java-21&os=macos&architecture=x86&package=jre-full&bitness=64#:~:text=All%20versions) + + + + diff --git a/_downloads/windows/arm64.md b/_downloads/windows/arm64.md index f054d6a6..c6088810 100644 --- a/_downloads/windows/arm64.md +++ b/_downloads/windows/arm64.md @@ -1,18 +1,8 @@ --- title: 下载适用于 Windows on Arm 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 - -![windows-x86_64-1](/assets/img/docs/java-download-pages/windows-x86_64-1.gif) - -![windows-x86_64-2](/assets/img/docs/java-download-pages/windows-x86_64-2.gif) - -没有下载?[点击此处开始下载](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-aarch64.msi) - -无法下载?[点击此处开始下载(备用)](https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi) - +lang: en +permalink: downloads/windows/arm64 --- The Java installation package has started to download. Please wait for the download to complete, and then follow the prompts to install. diff --git a/_downloads/windows/arm64_zh.md b/_downloads/windows/arm64_zh.md new file mode 100644 index 00000000..8e478586 --- /dev/null +++ b/_downloads/windows/arm64_zh.md @@ -0,0 +1,29 @@ +--- +title: 下载适用于 Windows on Arm 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/windows/arm64 +--- + +Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 + +![windows-x86_64-1](/assets/img/docs/java-download-pages/windows-x86_64-1.gif) + +![windows-x86_64-2](/assets/img/docs/java-download-pages/windows-x86_64-2.gif) + +没有下载?[点击此处开始下载](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-aarch64.msi) + +无法下载?[点击此处开始下载(备用)](https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi) + + + + diff --git a/_downloads/windows/x86.md b/_downloads/windows/x86.md index 6136c25f..c42ed8a1 100644 --- a/_downloads/windows/x86.md +++ b/_downloads/windows/x86.md @@ -1,6 +1,8 @@ --- title: 下载适用于 Windows x86 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 +lang: en +permalink: downloads/windows/x86 --- 正在前往 Java 下载页面,请向下滚动点击 `MSI` 安装包下载按钮,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 diff --git a/_downloads/windows/x86_64.md b/_downloads/windows/x86_64.md index 259b9899..2a5fac21 100644 --- a/_downloads/windows/x86_64.md +++ b/_downloads/windows/x86_64.md @@ -1,18 +1,8 @@ --- title: 下载适用于 Windows x86_64 的 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 - -![windows-x86_64-1](/assets/img/docs/java-download-pages/windows-x86_64-1.gif) - -![windows-x86_64-2](/assets/img/docs/java-download-pages/windows-x86_64-2.gif) - -没有下载?[点击此处开始下载](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi) - -无法下载?[点击此处开始下载(备用)](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi) - +lang: en +permalink: downloads/windows/x86_64 --- The Java installation package has started to download. Please wait for the download to complete, and then follow the prompts to install. diff --git a/_downloads/windows/x86_64_zh.md b/_downloads/windows/x86_64_zh.md new file mode 100644 index 00000000..440b02e5 --- /dev/null +++ b/_downloads/windows/x86_64_zh.md @@ -0,0 +1,27 @@ +--- +title: 下载适用于 Windows x86_64 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/windows/x86_64 +--- + +Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 + +![windows-x86_64-1](/assets/img/docs/java-download-pages/windows-x86_64-1.gif) + +![windows-x86_64-2](/assets/img/docs/java-download-pages/windows-x86_64-2.gif) + +没有下载?[点击此处开始下载](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi) + +无法下载?[点击此处开始下载(备用)](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi) + + + diff --git a/_downloads/windows/x86_zh.md b/_downloads/windows/x86_zh.md new file mode 100644 index 00000000..c88da3d0 --- /dev/null +++ b/_downloads/windows/x86_zh.md @@ -0,0 +1,31 @@ +--- +title: 下载适用于 Windows x86 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/windows/x86 +--- + +正在前往 Java 下载页面,请向下滚动点击 `MSI` 安装包下载按钮,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 + +![windows-x86-1](/assets/img/docs/java-download-pages/windows-x86-1.gif) + +![windows-x86-2](/assets/img/docs/java-download-pages/windows-x86-2.gif) + +![windows-x86-3](/assets/img/docs/java-download-pages/windows-x86-3.gif) + +没有下载?[点击此处开始下载](https://bell-sw.com/pages/downloads/?version=java-21&os=windows&architecture=x86&bitness=32&package=jre-full#:~:text=All%20versions) + +--- + +You are going to the Java download page. Please scroll down and click `MSI` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. + +No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloads/?version=java-21&os=windows&architecture=x86&bitness=32&package=jre-full#:~:text=All%20versions) + + + + From d9b3a30f2e5ffc415b55bd2df8d2a55829dc642b Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 15:27:45 +0800 Subject: [PATCH 03/32] update _downloads --- _config.yml | 4 ++-- _downloads/{java.md => java_en.md} | 8 ++------ _downloads/java_zh.md | 18 ++++++++++++++++++ _downloads/linux/{arm32.md => arm32_en.md} | 0 _downloads/linux/{arm64.md => arm64_en.md} | 0 _downloads/linux/{riscv64.md => riscv64_en.md} | 0 _downloads/linux/{x86_64.md => x86_64_en.md} | 0 _downloads/linux/{x86.md => x86_en.md} | 0 8 files changed, 22 insertions(+), 8 deletions(-) rename _downloads/{java.md => java_en.md} (69%) create mode 100644 _downloads/java_zh.md rename _downloads/linux/{arm32.md => arm32_en.md} (100%) rename _downloads/linux/{arm64.md => arm64_en.md} (100%) rename _downloads/linux/{riscv64.md => riscv64_en.md} (100%) rename _downloads/linux/{x86_64.md => x86_64_en.md} (100%) rename _downloads/linux/{x86.md => x86_en.md} (100%) diff --git a/_config.yml b/_config.yml index 730e0d94..3b9b9046 100644 --- a/_config.yml +++ b/_config.yml @@ -139,8 +139,8 @@ defaults: # enable_coderay: false # polyglot -languages: ["en", "zh"] -default_lang: "en" +languages: ["und", "en", "zh"] +default_lang: "und" exclude_from_localization: - assets - _docs diff --git a/_downloads/java.md b/_downloads/java_en.md similarity index 69% rename from _downloads/java.md rename to _downloads/java_en.md index 51c2442f..a12ef00c 100644 --- a/_downloads/java.md +++ b/_downloads/java_en.md @@ -1,12 +1,8 @@ --- title: 下载 HMCL 和 Minecraft 依赖的 Java date: 2022-12-03 17:30:00 +0800 ---- - -正在前往 Java 下载页面,请点击下载,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 - -没有前往?[点击此处](https://www.java.com/zh-CN/download) - +lang: en +permalink: downloads/java --- You are going to the Java download page. Please click download after redirecting, then wait for the Java installer to finish downloading, finally open the installer and follow the prompts to install Java. diff --git a/_downloads/java_zh.md b/_downloads/java_zh.md new file mode 100644 index 00000000..4576623b --- /dev/null +++ b/_downloads/java_zh.md @@ -0,0 +1,18 @@ +--- +title: 下载 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: zh +permalink: downloads/java +--- + +正在前往 Java 下载页面,请点击下载,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 + +没有前往?[点击此处](https://www.java.com/zh-CN/download) + + + diff --git a/_downloads/linux/arm32.md b/_downloads/linux/arm32_en.md similarity index 100% rename from _downloads/linux/arm32.md rename to _downloads/linux/arm32_en.md diff --git a/_downloads/linux/arm64.md b/_downloads/linux/arm64_en.md similarity index 100% rename from _downloads/linux/arm64.md rename to _downloads/linux/arm64_en.md diff --git a/_downloads/linux/riscv64.md b/_downloads/linux/riscv64_en.md similarity index 100% rename from _downloads/linux/riscv64.md rename to _downloads/linux/riscv64_en.md diff --git a/_downloads/linux/x86_64.md b/_downloads/linux/x86_64_en.md similarity index 100% rename from _downloads/linux/x86_64.md rename to _downloads/linux/x86_64_en.md diff --git a/_downloads/linux/x86.md b/_downloads/linux/x86_en.md similarity index 100% rename from _downloads/linux/x86.md rename to _downloads/linux/x86_en.md From e7e6298a0011d49a7ff1e5626db0f01ce518d26c Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 15:58:18 +0800 Subject: [PATCH 04/32] update --- _downloads/linux/riscv64.md | 4 ++++ _layouts/select_language.html | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 _downloads/linux/riscv64.md create mode 100644 _layouts/select_language.html diff --git a/_downloads/linux/riscv64.md b/_downloads/linux/riscv64.md new file mode 100644 index 00000000..1cb52c17 --- /dev/null +++ b/_downloads/linux/riscv64.md @@ -0,0 +1,4 @@ +--- +layout: select_language +permalink: downloads/linux/riscv64 +--- \ No newline at end of file diff --git a/_layouts/select_language.html b/_layouts/select_language.html new file mode 100644 index 00000000..ba7e5c7a --- /dev/null +++ b/_layouts/select_language.html @@ -0,0 +1,23 @@ +--- +--- + + + + + Redirecting… + + {% for lang in site.languages %}{%- if lang != site.default_lang -%} + + {% endif %}{%- endfor -%} + + +

Redirecting…

+ Click here if you are not redirected. + From 55e6f015109590e782dbbde2d3fb6289eeb6c087 Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 16:05:02 +0800 Subject: [PATCH 05/32] update --- _layouts/select_language.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/_layouts/select_language.html b/_layouts/select_language.html index ba7e5c7a..9112fcf6 100644 --- a/_layouts/select_language.html +++ b/_layouts/select_language.html @@ -5,16 +5,19 @@ Redirecting… - + {% for lang in site.languages %}{%- if lang != site.default_lang -%} {% endif %}{%- endfor -%} From fcceea7f8fd3a53351c04075de6e06ac81ec0c50 Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 16:09:35 +0800 Subject: [PATCH 06/32] update _downloads --- _downloads/java.md | 4 ++++ _downloads/linux/arm32.md | 4 ++++ _downloads/linux/arm64.md | 4 ++++ _downloads/linux/loongarch64.md | 4 ++++ _downloads/linux/x86.md | 4 ++++ _downloads/linux/x86_64.md | 4 ++++ _downloads/macos/arm64.md | 18 ++---------------- _downloads/macos/arm64_en.md | 18 ++++++++++++++++++ _downloads/macos/x86_64.md | 19 ++----------------- _downloads/macos/x86_64_en.md | 19 +++++++++++++++++++ _downloads/windows/arm64.md | 26 ++------------------------ _downloads/windows/arm64_en.md | 26 ++++++++++++++++++++++++++ _downloads/windows/x86.md | 31 ++----------------------------- _downloads/windows/x86_64.md | 25 ++----------------------- _downloads/windows/x86_64_en.md | 25 +++++++++++++++++++++++++ _downloads/windows/x86_en.md | 31 +++++++++++++++++++++++++++++++ 16 files changed, 153 insertions(+), 109 deletions(-) create mode 100644 _downloads/java.md create mode 100644 _downloads/linux/arm32.md create mode 100644 _downloads/linux/arm64.md create mode 100644 _downloads/linux/loongarch64.md create mode 100644 _downloads/linux/x86.md create mode 100644 _downloads/linux/x86_64.md create mode 100644 _downloads/macos/arm64_en.md create mode 100644 _downloads/macos/x86_64_en.md create mode 100644 _downloads/windows/arm64_en.md create mode 100644 _downloads/windows/x86_64_en.md create mode 100644 _downloads/windows/x86_en.md diff --git a/_downloads/java.md b/_downloads/java.md new file mode 100644 index 00000000..18eb1b0d --- /dev/null +++ b/_downloads/java.md @@ -0,0 +1,4 @@ +--- +layout: select_language +permalink: downloads/java +--- \ No newline at end of file diff --git a/_downloads/linux/arm32.md b/_downloads/linux/arm32.md new file mode 100644 index 00000000..c74e7171 --- /dev/null +++ b/_downloads/linux/arm32.md @@ -0,0 +1,4 @@ +--- +layout: select_language +permalink: downloads/linux/arm32 +--- \ No newline at end of file diff --git a/_downloads/linux/arm64.md b/_downloads/linux/arm64.md new file mode 100644 index 00000000..4c02e842 --- /dev/null +++ b/_downloads/linux/arm64.md @@ -0,0 +1,4 @@ +--- +layout: select_language +permalink: downloads/linux/arm64 +--- \ No newline at end of file diff --git a/_downloads/linux/loongarch64.md b/_downloads/linux/loongarch64.md new file mode 100644 index 00000000..3e3f2d32 --- /dev/null +++ b/_downloads/linux/loongarch64.md @@ -0,0 +1,4 @@ +--- +layout: select_language +permalink: downloads/linux/loongarch64 +--- \ No newline at end of file diff --git a/_downloads/linux/x86.md b/_downloads/linux/x86.md new file mode 100644 index 00000000..16191c59 --- /dev/null +++ b/_downloads/linux/x86.md @@ -0,0 +1,4 @@ +--- +layout: select_language +permalink: downloads/linux/x86 +--- \ No newline at end of file diff --git a/_downloads/linux/x86_64.md b/_downloads/linux/x86_64.md new file mode 100644 index 00000000..116f2a97 --- /dev/null +++ b/_downloads/linux/x86_64.md @@ -0,0 +1,4 @@ +--- +layout: select_language +permalink: downloads/linux/x86_64 +--- \ No newline at end of file diff --git a/_downloads/macos/arm64.md b/_downloads/macos/arm64.md index bce1aad7..2bef7ef0 100644 --- a/_downloads/macos/arm64.md +++ b/_downloads/macos/arm64.md @@ -1,18 +1,4 @@ --- -title: 下载适用于 macOS ARM64 的 HMCL 和 Minecraft 依赖的 Java -date: 2022-12-03 17:30:00 +0800 -lang: en +layout: select_language permalink: downloads/macos/arm64 ---- - -You are going to the Java download page. Please scroll down and click `DMG` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. - -No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloads/?version=java-21&os=macos&architecture=arm&package=jre-full&bitness=64#:~:text=All%20versions) - - - - +--- \ No newline at end of file diff --git a/_downloads/macos/arm64_en.md b/_downloads/macos/arm64_en.md new file mode 100644 index 00000000..bce1aad7 --- /dev/null +++ b/_downloads/macos/arm64_en.md @@ -0,0 +1,18 @@ +--- +title: 下载适用于 macOS ARM64 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: en +permalink: downloads/macos/arm64 +--- + +You are going to the Java download page. Please scroll down and click `DMG` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. + +No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloads/?version=java-21&os=macos&architecture=arm&package=jre-full&bitness=64#:~:text=All%20versions) + + + + diff --git a/_downloads/macos/x86_64.md b/_downloads/macos/x86_64.md index f34bccf8..bb558750 100644 --- a/_downloads/macos/x86_64.md +++ b/_downloads/macos/x86_64.md @@ -1,19 +1,4 @@ --- -title: 下载适用于 macOS x86_64 的 HMCL 和 Minecraft 依赖的 Java -date: 2022-12-03 17:30:00 +0800 -lang: en +layout: select_language permalink: downloads/macos/x86_64 ---- - -You are going to the Java download page. Please scroll down and click `DMG` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. - -No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloads/?version=java-21&os=macos&architecture=x86&package=jre-full&bitness=64#:~:text=All%20versions) - - - - +--- \ No newline at end of file diff --git a/_downloads/macos/x86_64_en.md b/_downloads/macos/x86_64_en.md new file mode 100644 index 00000000..f34bccf8 --- /dev/null +++ b/_downloads/macos/x86_64_en.md @@ -0,0 +1,19 @@ +--- +title: 下载适用于 macOS x86_64 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: en +permalink: downloads/macos/x86_64 +--- + +You are going to the Java download page. Please scroll down and click `DMG` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. + +No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloads/?version=java-21&os=macos&architecture=x86&package=jre-full&bitness=64#:~:text=All%20versions) + + + + diff --git a/_downloads/windows/arm64.md b/_downloads/windows/arm64.md index c6088810..faaac081 100644 --- a/_downloads/windows/arm64.md +++ b/_downloads/windows/arm64.md @@ -1,26 +1,4 @@ --- -title: 下载适用于 Windows on Arm 的 HMCL 和 Minecraft 依赖的 Java -date: 2022-12-03 17:30:00 +0800 -lang: en +layout: select_language permalink: downloads/windows/arm64 ---- - -The Java installation package has started to download. Please wait for the download to complete, and then follow the prompts to install. - -No redirect? [Click here to start downloading](https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi) - -Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-aarch64.msi) - - - - - +--- \ No newline at end of file diff --git a/_downloads/windows/arm64_en.md b/_downloads/windows/arm64_en.md new file mode 100644 index 00000000..c6088810 --- /dev/null +++ b/_downloads/windows/arm64_en.md @@ -0,0 +1,26 @@ +--- +title: 下载适用于 Windows on Arm 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: en +permalink: downloads/windows/arm64 +--- + +The Java installation package has started to download. Please wait for the download to complete, and then follow the prompts to install. + +No redirect? [Click here to start downloading](https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi) + +Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-aarch64.msi) + + + + + diff --git a/_downloads/windows/x86.md b/_downloads/windows/x86.md index c42ed8a1..81f2e386 100644 --- a/_downloads/windows/x86.md +++ b/_downloads/windows/x86.md @@ -1,31 +1,4 @@ --- -title: 下载适用于 Windows x86 的 HMCL 和 Minecraft 依赖的 Java -date: 2022-12-03 17:30:00 +0800 -lang: en +layout: select_language permalink: downloads/windows/x86 ---- - -正在前往 Java 下载页面,请向下滚动点击 `MSI` 安装包下载按钮,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 - -![windows-x86-1](/assets/img/docs/java-download-pages/windows-x86-1.gif) - -![windows-x86-2](/assets/img/docs/java-download-pages/windows-x86-2.gif) - -![windows-x86-3](/assets/img/docs/java-download-pages/windows-x86-3.gif) - -没有下载?[点击此处开始下载](https://bell-sw.com/pages/downloads/?version=java-21&os=windows&architecture=x86&bitness=32&package=jre-full#:~:text=All%20versions) - ---- - -You are going to the Java download page. Please scroll down and click `MSI` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. - -No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloads/?version=java-21&os=windows&architecture=x86&bitness=32&package=jre-full#:~:text=All%20versions) - - - - +--- \ No newline at end of file diff --git a/_downloads/windows/x86_64.md b/_downloads/windows/x86_64.md index 2a5fac21..e16ac151 100644 --- a/_downloads/windows/x86_64.md +++ b/_downloads/windows/x86_64.md @@ -1,25 +1,4 @@ --- -title: 下载适用于 Windows x86_64 的 HMCL 和 Minecraft 依赖的 Java -date: 2022-12-03 17:30:00 +0800 -lang: en +layout: select_language permalink: downloads/windows/x86_64 ---- - -The Java installation package has started to download. Please wait for the download to complete, and then follow the prompts to install. - -No redirect? [Click here to start downloading](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi) - -Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi) - - - - +--- \ No newline at end of file diff --git a/_downloads/windows/x86_64_en.md b/_downloads/windows/x86_64_en.md new file mode 100644 index 00000000..2a5fac21 --- /dev/null +++ b/_downloads/windows/x86_64_en.md @@ -0,0 +1,25 @@ +--- +title: 下载适用于 Windows x86_64 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: en +permalink: downloads/windows/x86_64 +--- + +The Java installation package has started to download. Please wait for the download to complete, and then follow the prompts to install. + +No redirect? [Click here to start downloading](https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi) + +Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-x64.msi) + + + + diff --git a/_downloads/windows/x86_en.md b/_downloads/windows/x86_en.md new file mode 100644 index 00000000..c42ed8a1 --- /dev/null +++ b/_downloads/windows/x86_en.md @@ -0,0 +1,31 @@ +--- +title: 下载适用于 Windows x86 的 HMCL 和 Minecraft 依赖的 Java +date: 2022-12-03 17:30:00 +0800 +lang: en +permalink: downloads/windows/x86 +--- + +正在前往 Java 下载页面,请向下滚动点击 `MSI` 安装包下载按钮,然后等待 Java 安装程序下载完成,最后启动安装程序,依照提示安装 Java。 + +![windows-x86-1](/assets/img/docs/java-download-pages/windows-x86-1.gif) + +![windows-x86-2](/assets/img/docs/java-download-pages/windows-x86-2.gif) + +![windows-x86-3](/assets/img/docs/java-download-pages/windows-x86-3.gif) + +没有下载?[点击此处开始下载](https://bell-sw.com/pages/downloads/?version=java-21&os=windows&architecture=x86&bitness=32&package=jre-full#:~:text=All%20versions) + +--- + +You are going to the Java download page. Please scroll down and click `MSI` download button, then wait for the Java installer to finish downloading, and finally open the installer and follow the prompts to install Java. + +No redirect? [Click here to start downloading](https://bell-sw.com/pages/downloads/?version=java-21&os=windows&architecture=x86&bitness=32&package=jre-full#:~:text=All%20versions) + + + + From 602b38d40aae38090e28875225c199e58b3b77f3 Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 16:24:04 +0800 Subject: [PATCH 07/32] update --- _config.yml | 1 - _data/en/navigation.yml | 53 ++++++++++++++++++++++++++++++++++++ _data/zh/navigation.yml | 53 ++++++++++++++++++++++++++++++++++++ _docs/crash-support-group.md | 6 ++-- 4 files changed, 109 insertions(+), 4 deletions(-) create mode 100644 _data/en/navigation.yml create mode 100644 _data/zh/navigation.yml diff --git a/_config.yml b/_config.yml index 3b9b9046..83b4d3ba 100644 --- a/_config.yml +++ b/_config.yml @@ -143,7 +143,6 @@ languages: ["und", "en", "zh"] default_lang: "und" exclude_from_localization: - assets - - _docs - launcher # Theme Settings diff --git a/_data/en/navigation.yml b/_data/en/navigation.yml new file mode 100644 index 00000000..5e6ab1bb --- /dev/null +++ b/_data/en/navigation.yml @@ -0,0 +1,53 @@ +main: + - title: FAQ + url: /faq.html + +docs: + - title: Question Collection + children: + - title: Common Questions + url: /faq.html + - title: Launcher Usage + url: /launcher/ + - title: Modpack Help + url: /modpack/ + - title: Multiplayer Help + url: /multiplayer/ + - title: User Help + children: + - title: Version Isolation + url: /launcher/isolation.html + description: This article can help you better separate maps, mods, and other content between versions. + - title: Set Offline Skin + url: /launcher/offline-skin.html + description: This article will tell you how to set your own offline skin. + - title: HMCL Auto Installation Guide + url: /launcher/auto-installing.html + description: This article will tell you how to use HMCL to install Forge, Fabric, Fabric API, LiteLoader, Optifine, and mods. + - title: Install Shaders + url: /launcher/shader.html + description: This article will tell you how to install shaders. + - title: Settings Details + url: /launcher/set-item-details.html + description: This article explains each setting item of HMCL in detail. + - title: Developer Help + children: + - title: Create HMCL Format Datapack + url: /launcher/datapack.html + description: This article will tell you how to create datapacks that HMCL can recognize. + - title: Create Modpack + url: /modpack/serverpack.html + description: This article will tell you how to create a modpack. + - title: Add Default authlib-injector Authentication Server + url: /launcher/authlib-injector.html + description: This article will tell you how to set the default authentication server. + - title: Others + children: + - title: Contribute to HMCL + url: /contribution.html + - title: HMCL GitHub Repository + url: https://github.com/HMCL-dev/HMCL + - title: HMCL Docs GitHub Repository + url: https://github.com/HMCL-dev/HMCL-docs + - title: HMCL Official Website + url: https://hmcl.huangyuhui.net diff --git a/_data/zh/navigation.yml b/_data/zh/navigation.yml new file mode 100644 index 00000000..40fe95c4 --- /dev/null +++ b/_data/zh/navigation.yml @@ -0,0 +1,53 @@ +main: + - title: 常见问题 + url: /faq.html + +docs: + - title: 问题集合 + children: + - title: 常见问题 + url: /faq.html + - title: 启动器使用相关 + url: /launcher/ + - title: 整合包帮助 + url: /modpack/ + - title: 多人联机帮助 + url: /multiplayer/ + - title: 使用者帮助 + children: + - title: 版本隔离 + url: /launcher/isolation.html + description: 本文可以帮助你更好的分离版本间的地图、模组等内容。 + - title: 设置离线皮肤 + url: /launcher/offline-skin.html + description: 本文将告诉你如何设置一个属于自己的离线皮肤。 + - title: HMCL 的自动安装使用教程 + url: /launcher/auto-installing.html + description: 本文将告诉你如何用 HMCL 安装 Forge、Fabric、Fabric API、LiteLoader、Optifine 以及 模组 等。 + - title: 安装光影 + url: /launcher/shader.html + description: 本文将告诉你如何安装光影。 + - title: 设置项详解 + url: /launcher/set-item-details.html + description: 这篇文章针对 HMCL 的各个设置项进行了详细的解释。 + - title: 开发者帮助 + children: + - title: 制作 HMCL 格式的数据包 + url: /launcher/datapack.html + description: 本文将告诉你如何制作 HMCL 能够识别的数据包(Datapacks)。 + - title: 制作整合包 + url: /modpack/serverpack.html + description: 本文将告诉你如何制作整合包。 + - title: 添加默认 authlib-injector 验证服务器 + url: /launcher/authlib-injector.html + description: 本文将告诉你如何设置默认的验证服务器。 + - title: 其他 + children: + - title: 为 HMCL 做出贡献 + url: /contribution.html + - title: HMCL GitHub 地址 + url: https://github.com/HMCL-dev/HMCL + - title: HMCL 帮助文档 GitHub 地址 + url: https://github.com/HMCL-dev/HMCL-docs + - title: HMCL 官网 + url: https://hmcl.huangyuhui.net diff --git a/_docs/crash-support-group.md b/_docs/crash-support-group.md index 98045e0c..59eda551 100644 --- a/_docs/crash-support-group.md +++ b/_docs/crash-support-group.md @@ -29,8 +29,8 @@ author: zkitefly [~/assets/groups/button-1]: /assets/img/docs/groups/button-1.png "导出游戏崩溃日志" [~/assets/groups/button-2]: /assets/img/docs/groups/button-2.png "日志" [~/assets/groups/crash]: /assets/img/docs/groups/crash.png From 6f36c3453456f2a9dbe4187f8bf5333da84671f5 Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 16:33:15 +0800 Subject: [PATCH 08/32] update --- _layouts/select_language.html | 14 +++++++++----- index.md | 27 +++------------------------ index_en.md | 17 +++++++++++++++++ index_zh.md | 17 +++++++++++++++++ 4 files changed, 46 insertions(+), 29 deletions(-) create mode 100644 index_en.md create mode 100644 index_zh.md diff --git a/_layouts/select_language.html b/_layouts/select_language.html index 9112fcf6..b9260ea1 100644 --- a/_layouts/select_language.html +++ b/_layouts/select_language.html @@ -1,20 +1,24 @@ --- --- - +{%- if page.url == "/index" -%} +{%- assign page_relative_path = "/" -%} +{%- else -%} +{%- assign page_relative_path = page.url -%} +{%- endif -%} Redirecting… - + {% for lang in site.languages %}{%- if lang != site.default_lang -%} - + {% endif %}{%- endfor -%}

Redirecting…

- Click here if you are not redirected. + Click here if you are not redirected. From 5b8eca01af4db462a2c922a8a39e7af022cb6220 Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 20:36:31 +0800 Subject: [PATCH 12/32] update --- _downloads/linux/loongarch64.md | 2 ++ _downloads/linux/loongarch64_en.md | 46 ++++++++++++++++++++++++++++++ _downloads/linux/loongarch64_zh.md | 2 +- _downloads/windows/arm64_en.md | 10 +------ _downloads/windows/arm64_zh.md | 7 +---- _downloads/windows/x86_64_en.md | 6 +--- _downloads/windows/x86_64_zh.md | 6 +--- index_en.md | 2 +- 8 files changed, 54 insertions(+), 27 deletions(-) create mode 100644 _downloads/linux/loongarch64_en.md diff --git a/_downloads/linux/loongarch64.md b/_downloads/linux/loongarch64.md index 3e3f2d32..c6c2e376 100644 --- a/_downloads/linux/loongarch64.md +++ b/_downloads/linux/loongarch64.md @@ -1,4 +1,6 @@ --- layout: select_language permalink: downloads/linux/loongarch64 +redirect_from: + - /downloads/loongnix.html --- \ No newline at end of file diff --git a/_downloads/linux/loongarch64_en.md b/_downloads/linux/loongarch64_en.md new file mode 100644 index 00000000..ddb11308 --- /dev/null +++ b/_downloads/linux/loongarch64_en.md @@ -0,0 +1,46 @@ +--- +title: Download HMCL and Minecraft Dependency Java for Linux LoongArch64 +date: 2023-09-05 14:00:00 +0800 +redirect_from: + - /downloads/loongnix.html +lang: en +permalink: downloads/linux/loongarch64 +--- + +There are two ABIs on the Loongson platform: "**New World**" and "**Old World**". +Java for different ABIs is temporarily incompatible. + +Please enter the `uname -r` command in the terminal to check your Linux kernel version: + +- If your kernel version is 5.10 or higher, please download the [New World](#新世界) Java; +- If your kernel version is 4.19, please download the [Old World](#旧世界) Java. + +## New World + +If you are using an New World distribution, please download the New World Java. + +Direct download (manual installation required): [loongson25.1.5-fx-jdk25_36-linux-loongarch64-glibc2.34.tar.gz](https://ftp.loongnix.cn/Java/openjdk25/loongson25.1.5-fx-jdk25_36-linux-loongarch64-glibc2.34.tar.gz) + +Install via package manager: + +- AOSC OS/Debian/Ubuntu: + + ```bash + sudo apt install default-jre + ``` + + Note: The Java package in the Deepin repository does not include a JIT compiler. Using it to launch games will result in extremely poor performance. We recommend Deepin users download Java directly instead of installing it via APT. + +- ArchLinux: + + ```bash + sudo pacman -S jre-openjdk + ``` + +## Old World + +If you are using an Old World distribution, please download the Old World Java: + +- `.tar.gz`: [loongson25.1.5-fx-jdk25_36-linux-loongarch64.tar.gz](https://ftp.loongnix.cn/Java/openjdk25/loongson25.1.5-fx-jdk25_36-linux-loongarch64.tar.gz) + +- `.deb`: [loongson25.1.5-fx-jdk25_36-linux-loongarch64.deb](https://ftp.loongnix.cn/Java/openjdk25/loongson25.1.5-fx-jdk25_36-linux-loongarch64.deb) diff --git a/_downloads/linux/loongarch64_zh.md b/_downloads/linux/loongarch64_zh.md index a1ca173b..93dfd570 100644 --- a/_downloads/linux/loongarch64_zh.md +++ b/_downloads/linux/loongarch64_zh.md @@ -1,5 +1,5 @@ --- -title: 下载 HMCL 和 Minecraft 依赖的 Java +title: 下载适用于 Linux LoongArch64 的 HMCL 和 Minecraft 依赖的 Java date: 2023-09-05 14:00:00 +0800 redirect_from: - /downloads/loongnix.html diff --git a/_downloads/windows/arm64_en.md b/_downloads/windows/arm64_en.md index 5ff52015..0f67cd59 100644 --- a/_downloads/windows/arm64_en.md +++ b/_downloads/windows/arm64_en.md @@ -9,17 +9,9 @@ The Java installation package has started to download. Please wait for the downl No redirect? [Click here to start downloading](https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi) -Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-aarch64.msi) - - diff --git a/_downloads/windows/arm64_zh.md b/_downloads/windows/arm64_zh.md index 8e478586..5d056ea6 100644 --- a/_downloads/windows/arm64_zh.md +++ b/_downloads/windows/arm64_zh.md @@ -16,13 +16,8 @@ Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后 无法下载?[点击此处开始下载(备用)](https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi) diff --git a/_downloads/windows/x86_64_en.md b/_downloads/windows/x86_64_en.md index d256041f..581d4f20 100644 --- a/_downloads/windows/x86_64_en.md +++ b/_downloads/windows/x86_64_en.md @@ -15,11 +15,7 @@ Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/ diff --git a/_downloads/windows/x86_64_zh.md b/_downloads/windows/x86_64_zh.md index 440b02e5..b7316d86 100644 --- a/_downloads/windows/x86_64_zh.md +++ b/_downloads/windows/x86_64_zh.md @@ -17,11 +17,7 @@ Java 安装包已开始下载,请等待 Java 安装程序下载完成,最后 diff --git a/index_en.md b/index_en.md index 190b109f..bb8c64b7 100644 --- a/index_en.md +++ b/index_en.md @@ -1,6 +1,6 @@ --- layout: home -title: HMCL 新手导航 +title: HMCL Beginner's Guide author: wifi-left lang: en permalink: index From 141c2322d76793ab9a5089ca38ea645f3baf42a6 Mon Sep 17 00:00:00 2001 From: Glavo Date: Wed, 5 Nov 2025 21:24:04 +0800 Subject: [PATCH 13/32] update --- _layouts/document.html | 5 +++++ index_en.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_layouts/document.html b/_layouts/document.html index edee3ca4..2f6a8c72 100644 --- a/_layouts/document.html +++ b/_layouts/document.html @@ -7,7 +7,12 @@ {% endif %}
+ {% case page.lang | default: 'en' %} + {% when 'zh' %}

本文由 {{ page.author | default: '未署名用户' }} 创建{% if page.contributors %},并由 {{ page.contributors | join: ' ' }} 编辑{% endif %}。

+ {% else %} +

This article was created by {{ page.author | default: 'Anonymous user' }}{% if page.contributors %}, and edited by {{ page.contributors | join: ' ' }}{% endif %}.

+ {% endcase %} {%- if page.note -%}
{{ page.note | markdownify }} diff --git a/index_en.md b/index_en.md index bb8c64b7..46fd846b 100644 --- a/index_en.md +++ b/index_en.md @@ -10,7 +10,7 @@ permalink: index > [!NOTE] > > -> The articles were written in Simplified Chinese. If you want to help translate them, please send a pull request to [HMCL-docs/pulls](https://github.com/HMCL-dev/HMCL-docs/pulls). Or you can enable your translation tool to read.\ +> The articles were written in Simplified Chinese. If you want to help translate them, please send a pull request to [HMCL-docs/pulls](https://github.com/HMCL-dev/HMCL-docs/pulls).\ > If you encounter a BUG, please send feedback in time to [HMCL/issues](https://github.com/HMCL-dev/HMCL/issues).\ > You can also submit your suggestions here. -> [!NOTE] -> -> -> The articles were written in Simplified Chinese. If you want to help translate them, please send a pull request to [HMCL-docs/pulls](https://github.com/HMCL-dev/HMCL-docs/pulls).\ -> If you encounter a BUG, please send feedback in time to [HMCL/issues](https://github.com/HMCL-dev/HMCL/issues).\ -> You can also submit your suggestions here. - +{%- assign title_separator = site.title_separator | default: '-' -%} + +{%- assign page_title = page.title | default: site.title | replace: '|', '|' -%} +{%- if page_title contains site.title -%} + {%- assign seo_title = page_title | replace: '|', '|' -%} +{%- else -%} + {%- assign seo_title = page_title | append: " " | append: title_separator | append: " " | append: site.title | replace: '|', '|' -%} +{%- endif -%} + +{%- assign page_title = page_title | markdownify | strip_html | strip_newlines | escape_once -%} +{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%} + +{%- assign canonical_url = page.canonical_url | default: page.url | replace: "/index.html", "/" | absolute_url %} + +{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%} +{%- if seo_description -%} + {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '
', ' ' | escape_once | strip -%} +{%- endif -%} + +{%- assign author = page.author | default: page.authors[0] | default: site.author -%} +{%- assign author = site.data.authors[author] | default: author -%} + +{%- if author.twitter -%} + {%- assign author_twitter = author.twitter | replace: "@", "" -%} +{%- endif -%} + +{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image | absolute_url | escape -%} +{%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url | escape -%} +{%- assign site_og_image = site.og_image | absolute_url | escape -%} + +{%- if page.date -%} + {%- assign og_type = "article" -%} +{%- else -%} + {%- assign og_type = "website" -%} +{%- endif -%} + +{{ seo_title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %} + + +{%- if author.name -%} + + {%- if og_type == "article" -%} + + {%- endif -%} +{%- endif -%} + + + + + + + +{%- if seo_description -%} + +{%- endif -%} + +{%- if page_large_image -%} + +{%- elsif page_teaser_image -%} + +{%- endif -%} + +{%- if site.twitter.username -%} + + + + + + {%- if page_large_image -%} + + + {%- else -%} + + {%- if page_teaser_image -%} + + {%- endif -%} + {%- endif -%} + + {%- if author_twitter -%} + + {%- endif -%} +{%- endif -%} + +{%- if page.date -%} + +{%- endif -%} + +{%- if og_type == "article" and page.last_modified_at -%} + +{%- endif -%} + +{%- if site.facebook -%} + {%- if site.facebook.publisher -%} + + {%- endif -%} + + {%- if site.facebook.app_id -%} + + {%- endif -%} +{%- endif -%} + + + +{%- if paginator.previous_page -%} + +{%- endif -%} +{%- if paginator.next_page -%} + +{%- endif -%} + +{%- if page.url == '/' -%} + {%- include schema.html -%} +{%- endif -%} + +{%- if site.google_site_verification -%} + +{%- endif -%} +{%- if site.bing_site_verification -%} + +{%- endif -%} +{%- if site.alexa_site_verification -%} + +{%- endif -%} +{%- if site.yandex_site_verification -%} + +{%- endif -%} +{%- if site.naver_site_verification -%} + +{%- endif -%} +{%- if site.baidu_site_verification -%} + +{%- endif -%} + diff --git a/_layouts/single.html b/_layouts/single.html new file mode 100644 index 00000000..14622ede --- /dev/null +++ b/_layouts/single.html @@ -0,0 +1,87 @@ +--- +layout: default +--- + +{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} + {% include page__hero.html %} +{% elsif page.header.video.id and page.header.video.provider %} + {% include page__hero_video.html %} +{% endif %} + +{% assign breadcrumbs_enabled = site.breadcrumbs %} +{% if page.breadcrumbs != null %} + {% assign breadcrumbs_enabled = page.breadcrumbs %} +{% endif %} +{% if page.url != "/" and breadcrumbs_enabled %} + {% unless paginator %} + {% include breadcrumbs.html %} + {% endunless %} +{% endif %} + +
+ {% include sidebar.html %} + +
+ {% if page.title %}{% endif %} + {% if page.excerpt %}{% endif %} + {% if page.date %}{% endif %} + {% if page.last_modified_at %}{% endif %} + +
+ {% unless page.header.overlay_color or page.header.overlay_image %} +
+ {% if page.title -%} +

+ +

+ {%- endif %} + {% include page__meta.html %} +
+ {% endunless %} + +
+ {% if page.toc %} + + {% endif %} + {{ content }} + {% if page.link %}{% endif %} +
+ +
+ {% if site.data.ui-text[site.locale].meta_label %} +

{{ site.data.ui-text[site.locale].meta_label }}

+ {% endif %} + {% include page__taxonomy.html %} + {% include page__date.html %} +
+ + {% if page.share %}{% include social-share.html %}{% endif %} + + {% include post_pagination.html %} +
+ + {% if site.comments.provider and page.comments %} + {% if jekyll.environment == 'production' %} + {% include comments.html %} + {% else %} +

+ Comments are configured with provider: {{ site.comments.provider }}, + but are disabled in non-production environments. +

+ {% endif %} + {% endif %} +
+ + {% comment %}{% endcomment %} + {% if page.id and page.related and site.related_posts.size > 0 %} + {% include page__related.html posts=site.related_posts %} + {% comment %}{% endcomment %} + {% elsif page.id and page.related %} + {% include page__related.html posts=site.posts %} + {% endif %} +
From d7891ce5e9b0dc2dd32b52498518afb9636b39a0 Mon Sep 17 00:00:00 2001 From: Glavo Date: Thu, 6 Nov 2025 21:36:35 +0800 Subject: [PATCH 20/32] update --- _includes/page__date.html | 6 ++++ _includes/page__hero.html | 53 ++++++++++++++++++++++++++++++++++ _includes/page__meta.html | 31 ++++++++++++++++++++ _includes/page__related.html | 11 +++++++ _includes/post_pagination.html | 14 +++++++++ _includes/seo.html | 4 +-- _includes/skip-links.html | 7 +++++ _includes/social-share.html | 19 ++++++++++++ _includes/tag-list.html | 19 ++++++++++++ _layouts/default.html | 2 +- _layouts/document.html | 2 +- _layouts/single.html | 10 +++---- 12 files changed, 169 insertions(+), 9 deletions(-) create mode 100644 _includes/page__date.html create mode 100644 _includes/page__hero.html create mode 100644 _includes/page__meta.html create mode 100644 _includes/page__related.html create mode 100644 _includes/post_pagination.html create mode 100644 _includes/skip-links.html create mode 100644 _includes/social-share.html create mode 100644 _includes/tag-list.html diff --git a/_includes/page__date.html b/_includes/page__date.html new file mode 100644 index 00000000..a41b6dd0 --- /dev/null +++ b/_includes/page__date.html @@ -0,0 +1,6 @@ +{% assign date_format = site.date_format | default: "%B %-d, %Y" %} +{% if page.last_modified_at %} +

{{ site.data.ui-text[site.active_lang].date_label | default: "Updated:" }}

+{% elsif page.date %} +

{{ site.data.ui-text[site.active_lang].date_label | default: "Updated:" }}

+{% endif %} \ No newline at end of file diff --git a/_includes/page__hero.html b/_includes/page__hero.html new file mode 100644 index 00000000..3d58ec1c --- /dev/null +++ b/_includes/page__hero.html @@ -0,0 +1,53 @@ +{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %} + +{% if page.header.overlay_filter contains "gradient" %} + {% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %} +{% elsif page.header.overlay_filter contains "rgba" %} + {% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %} + {% capture overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}){% endcapture %} +{% elsif page.header.overlay_filter %} + {% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %} + {% capture overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}){% endcapture %} +{% endif %} + +{% if page.header.image_description %} + {% assign image_description = page.header.image_description %} +{% else %} + {% assign image_description = page.title %} +{% endif %} + +{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %} + +
+ {% if page.header.overlay_color or page.header.overlay_image %} +
+

+ {% if paginator and site.paginate_show_page_num %} + {{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.active_lang].page | default: "Page" }} {{ paginator.page }}{% endunless %} + {% else %} + {{ page.title | default: site.title | markdownify | remove: "

" | remove: "

" }} + {% endif %} +

+ {% if page.tagline %} +

{{ page.tagline | markdownify | remove: "

" | remove: "

" }}

+ {% elsif page.header.show_overlay_excerpt != false and page.excerpt %} +

{{ page.excerpt | markdownify | remove: "

" | remove: "

" }}

+ {% endif %} + {% include page__meta.html %} + {% if page.header.actions %} +

+ {% for action in page.header.actions %} + {{ action.label | default: site.data.ui-text[site.active_lang].more_label | default: "Learn More" }} + {% endfor %} +

+ {% endif %} +
+ {% else %} + {{ image_description }} + {% endif %} + {% if page.header.caption %} + {{ page.header.caption | markdownify | remove: "

" | remove: "

" }}
+ {% endif %} +
diff --git a/_includes/page__meta.html b/_includes/page__meta.html new file mode 100644 index 00000000..ce611a39 --- /dev/null +++ b/_includes/page__meta.html @@ -0,0 +1,31 @@ +{% assign document = post | default: page %} +{% if document.read_time or document.show_date %} +

+ {% if document.show_date and document.date %} + {% assign date = document.date %} + + + {% assign date_format = site.date_format | default: "%B %-d, %Y" %} + + + {% endif %} + + {% if document.read_time and document.show_date %}{% endif %} + + {% if document.read_time %} + {% assign words_per_minute = document.words_per_minute | default: site.words_per_minute | default: 200 %} + {% assign words = document.content | strip_html | number_of_words %} + + + + {% if words < words_per_minute %} + {{ site.data.ui-text[site.active_lang].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.active_lang].minute_read | default: "minute read" }} + {% elsif words == words_per_minute %} + 1 {{ site.data.ui-text[site.active_lang].minute_read | default: "minute read" }} + {% else %} + {{ words | divided_by: words_per_minute }} {{ site.data.ui-text[site.active_lang].minute_read | default: "minute read" }} + {% endif %} + + {% endif %} +

+{% endif %} diff --git a/_includes/page__related.html b/_includes/page__related.html new file mode 100644 index 00000000..56f8adf8 --- /dev/null +++ b/_includes/page__related.html @@ -0,0 +1,11 @@ +{% assign posts = include.posts | where_exp: "post", "post.hidden != true" %} + diff --git a/_includes/post_pagination.html b/_includes/post_pagination.html new file mode 100644 index 00000000..cb625bd2 --- /dev/null +++ b/_includes/post_pagination.html @@ -0,0 +1,14 @@ +{% if page.previous or page.next %} + +{% endif %} diff --git a/_includes/seo.html b/_includes/seo.html index 5f263286..e4df98fc 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -35,7 +35,7 @@ {%- assign og_type = "website" -%} {%- endif -%} -{{ seo_title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %} +{{ seo_title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.active_lang].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %} {%- if author.name -%} @@ -46,7 +46,7 @@ {%- endif -%} - + diff --git a/_includes/skip-links.html b/_includes/skip-links.html new file mode 100644 index 00000000..a899df8f --- /dev/null +++ b/_includes/skip-links.html @@ -0,0 +1,7 @@ + diff --git a/_includes/social-share.html b/_includes/social-share.html new file mode 100644 index 00000000..6aa384cf --- /dev/null +++ b/_includes/social-share.html @@ -0,0 +1,19 @@ + diff --git a/_includes/tag-list.html b/_includes/tag-list.html new file mode 100644 index 00000000..d6beadca --- /dev/null +++ b/_includes/tag-list.html @@ -0,0 +1,19 @@ +{% case site.tag_archive.type %} + {% when "liquid" %} + {% assign path_type = "#" %} + {% when "jekyll-archives" %} + {% assign path_type = nil %} +{% endcase %} + +{% if site.tag_archive.path %} + {% assign tags_sorted = page.tags | sort_natural %} + +

+ {{ site.data.ui-text[site.active_lang].tags_label | default: "Tags:" }} + + {% for tag_word in tags_sorted %} + {% unless forloop.last %}, {% endunless %} + {% endfor %} + +

+{% endif %} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 736156e7..6ac841ca 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,7 +4,7 @@ {% include copyright.html %} - + {% include head.html %} {% include head/custom.html %} diff --git a/_layouts/document.html b/_layouts/document.html index d7232151..3b88c971 100644 --- a/_layouts/document.html +++ b/_layouts/document.html @@ -8,7 +8,7 @@ {%- if page.author or page.note -%}
{%- if page.author -%} - {%- case page.lang | default: 'zh' -%} + {%- case site.active_lang | default: 'en' -%} {%- when 'zh' -%}

本文由 {{ page.author | default: '未署名用户' }} 创建{% if page.contributors %},并由 {{ page.contributors | join: ' ' }} 编辑{% endif %}。

{%- else -%} diff --git a/_layouts/single.html b/_layouts/single.html index 14622ede..a912e3a8 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -21,7 +21,7 @@
{% include sidebar.html %} -
+
{% if page.title %}{% endif %} {% if page.excerpt %}{% endif %} {% if page.date %}{% endif %} @@ -43,18 +43,18 @@

{% if page.toc %} {% endif %} {{ content }} - {% if page.link %}{% endif %} + {% if page.link %}{% endif %}