From c852e380d81c304ea95de2500280edf653178508 Mon Sep 17 00:00:00 2001 From: neveler <55753029+neveler@users.noreply.github.com> Date: Sun, 2 Nov 2025 22:30:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=87=8D=E5=AE=9A=E5=90=91?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=20(#305)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 1 + _config.yml | 14 ++++++++------ _downloads/linux/loongarch64.md | 2 ++ _downloads/loongnix.md | 17 ----------------- 4 files changed, 11 insertions(+), 23 deletions(-) delete mode 100644 _downloads/loongnix.md diff --git a/Gemfile b/Gemfile index a5f1910..d7ce736 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,7 @@ group :jekyll_plugins do gem "jekyll-gist", "1.5.0" gem "jekyll-feed", "0.17.0" gem "jekyll-include-cache", "0.2.1" + gem "jekyll-redirect-from", "0.16.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 9be5ca3..a049499 100644 --- a/_config.yml +++ b/_config.yml @@ -66,13 +66,15 @@ plugins: - jekyll-gist - jekyll-feed - jekyll-include-cache + - jekyll-redirect-from # minimal-mistakes (mimic GitHub Pages with --safe) -# whitelist: -# - jekyll-paginate -# - jekyll-sitemap -# - jekyll-gist -# - jekyll-feed -# - jekyll-include-cache +whitelist: + - jekyll-paginate + - jekyll-sitemap + - jekyll-gist + - jekyll-feed + - jekyll-include-cache + - jekyll-redirect-from # Conversion # markdown: kramdown diff --git a/_downloads/linux/loongarch64.md b/_downloads/linux/loongarch64.md index c2ed8b5..e6c5108 100644 --- a/_downloads/linux/loongarch64.md +++ b/_downloads/linux/loongarch64.md @@ -1,6 +1,8 @@ --- title: 下载 HMCL 和 Minecraft 依赖的 Java date: 2023-09-05 14:00:00 +0800 +redirect_from: + - /downloads/loongnix.html --- 龙芯平台存在 “**新世界**” 和 “**旧世界**” 两个 ABI,不同 ABI 的 Java 暂时互不兼容。 diff --git a/_downloads/loongnix.md b/_downloads/loongnix.md deleted file mode 100644 index 43b7085..0000000 --- a/_downloads/loongnix.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: 下载适用于龙芯的 HMCL 和 Minecraft 依赖的 Java -date: 2022-12-03 17:30:00 +0800 ---- - -页面已移动至 [/downloads/linux/loongarch64](/downloads/linux/loongarch64.html) - ---- - -The page has moved to [/downloads/linux/loongarch64](/downloads/linux/loongarch64.html) - -