File tree Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,11 @@ head:
121
121
- The dirname that matches the date pattern ` yyyy/MM/dd/foobar.md ` or ` yyyy/MM/foobar.md ` .
122
122
- Fallback to ` 0000-00-00 ` .
123
123
124
- - Example:
125
-
126
- - Case 1:
124
+ - Example 1:
127
125
128
- The page filename is ` foo-bar.md ` .
126
+ The page filename is ` foo-bar.md ` .
129
127
130
- The page frontmatter is:
128
+ The page frontmatter is:
131
129
132
130
``` md
133
131
---
@@ -136,21 +134,21 @@ permalinkPattern: :year/:month/:day/:slug.html
136
134
---
137
135
```
138
136
139
- Then the permalink of the page would be `2021/01/03/foo-bar.html`.
137
+ Then the permalink of the page would be ` 2021/01/03/foo-bar.html ` .
140
138
141
- - Case 2:
139
+ - Example 2:
142
140
143
- The page filename is ` 2021-01-03-bar-baz.md ` .
141
+ The page filename is ` 2021-01-03-bar-baz.md ` .
144
142
145
- The page frontmatter is:
143
+ The page frontmatter is:
146
144
147
145
``` md
148
146
---
149
147
permalinkPattern: :year/:month/:day/:slug.html
150
148
---
151
149
```
152
150
153
- Then the permalink of the page would be `2021/01/03/bar-baz.html`.
151
+ Then the permalink of the page would be ` 2021/01/03/bar-baz.html ` .
154
152
155
153
- Also see:
156
154
- [ Frontmatter > date] ( #date )
Original file line number Diff line number Diff line change @@ -121,13 +121,11 @@ head:
121
121
- 符合 ` yyyy/MM/dd/foobar.md ` 或 ` yyyy/MM/foobar.md ` 日期格式的目录名。
122
122
- 默认值 ` 0000-00-00 ` 。
123
123
124
- - 示例:
125
-
126
- - 情况 1:
124
+ - 示例 1 :
127
125
128
- 页面文件名是 ` foo-bar.md ` 。
126
+ 页面文件名是 ` foo-bar.md ` 。
129
127
130
- 页面 Frontmatter 是:
128
+ 页面 Frontmatter 是:
131
129
132
130
``` md
133
131
---
@@ -136,21 +134,21 @@ permalinkPattern: :year/:month/:day/:slug.html
136
134
---
137
135
```
138
136
139
- 那么页面的永久链接将会是 `2021/01/03/foo-bar.html` 。
137
+ 那么页面的永久链接将会是 ` 2021/01/03/foo-bar.html ` 。
140
138
141
- - 情况 2 :
139
+ - 示例 2 :
142
140
143
- 页面文件名是 ` 2021-01-03-bar-baz.md ` 。
141
+ 页面文件名是 ` 2021-01-03-bar-baz.md ` 。
144
142
145
- 页面 Frontmatter 是:
143
+ 页面 Frontmatter 是:
146
144
147
145
``` md
148
146
---
149
147
permalinkPattern: :year/:month/:day/:slug.html
150
148
---
151
149
```
152
150
153
- 那么页面的永久链接将会是 `2021/01/03/bar-baz.html` 。
151
+ 那么页面的永久链接将会是 ` 2021/01/03/bar-baz.html ` 。
154
152
155
153
- 参考:
156
154
- [ Frontmatter > date] ( #date )
You can’t perform that action at this time.
0 commit comments