File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -109,14 +109,16 @@ layout: CustomLayout
109
109
110
110
## permalink
111
111
112
- - Type: ` string `
112
+ - Type: ` string | null `
113
113
114
114
- Details:
115
115
116
116
Permalink for the page.
117
117
118
118
This will override the default route path that determined by the file path of the page.
119
119
120
+ When it is set to ` null ` , the permalink of the page will be disabled.
121
+
120
122
- Also see:
121
123
- [ Frontmatter > permalinkPattern] ( #permalinkpattern )
122
124
- [ Guide > Page > Routing] ( ../guide/page.md#routing )
Original file line number Diff line number Diff line change @@ -109,14 +109,16 @@ layout: CustomLayout
109
109
110
110
## permalink
111
111
112
- - 类型: ` string `
112
+ - 类型: ` string | null `
113
113
114
114
- 详情:
115
115
116
116
页面的永久链接。
117
117
118
118
它将会覆盖根据文件路径来决定的默认路由路径。
119
119
120
+ 当被设置为 ` null ` 时,将会禁用页面的永久链接。
121
+
120
122
- 参考:
121
123
- [ Frontmatter > permalinkPattern] ( #permalinkpattern )
122
124
- [ 指南 > 页面 > 路由] ( ../guide/page.md#路由 )
You can’t perform that action at this time.
0 commit comments