Skip to content

Commit 018ec01

Browse files
Redirect site root to first tutorial page
1 parent b9afee0 commit 018ec01

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎docusaurus.config.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ const config = {
108108
metadata: [
109109
{
110110
name: "description",
111-
content: "面向新手的 Neoforge 26.1 中文模组开发教程。",
111+
content:
112+
"面向零基础开发者的 Neoforge 26.1 中文模组开发教程,涵盖开发环境配置、物品与方块注册、资源与模型、数据生成、事件系统和常用 API,提供循序渐进的实践步骤与中文参考资料。",
112113
},
113114
{
114115
name: "application-name",

‎netlify.toml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44

55
[build.environment]
66
NODE_VERSION = "24"
7+
8+
[[redirects]]
9+
from = "/"
10+
to = "/tutorial/%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/"
11+
status = 301
12+
force = true

0 commit comments

Comments
 (0)