添加重定向插件 (#305)

This commit is contained in:
neveler 2025-11-02 22:30:46 +08:00 committed by GitHub
parent fbcfa2aa2e
commit c852e380d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 23 deletions

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,8 @@
---
title: 下载 HMCL 和 Minecraft 依赖的 Java
date: 2023-09-05 14:00:00 +0800
redirect_from:
- /downloads/loongnix.html
---
龙芯平台存在 “**新世界**” 和 “**旧世界**” 两个 ABI不同 ABI 的 Java 暂时互不兼容。

View File

@ -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)
<script>
/* 等待 5 秒. */
setTimeout(function() {
window.location.href = "{{ '/downloads/linux/loongarch64.html' | relative_url }}";
}, 5000);
</script>