Skip to content

Commit 2402a6c

Browse files
committed
docs: tweak styles
1 parent 6fadce4 commit 2402a6c

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

docs/reference/frontmatter.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,11 @@ head:
121121
- The dirname that matches the date pattern `yyyy/MM/dd/foobar.md` or `yyyy/MM/foobar.md`.
122122
- Fallback to `0000-00-00`.
123123

124-
- Example:
125-
126-
- Case 1:
124+
- Example 1:
127125

128-
The page filename is `foo-bar.md`.
126+
The page filename is `foo-bar.md`.
129127

130-
The page frontmatter is:
128+
The page frontmatter is:
131129

132130
```md
133131
---
@@ -136,21 +134,21 @@ permalinkPattern: :year/:month/:day/:slug.html
136134
---
137135
```
138136

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`.
140138

141-
- Case 2:
139+
- Example 2:
142140

143-
The page filename is `2021-01-03-bar-baz.md`.
141+
The page filename is `2021-01-03-bar-baz.md`.
144142

145-
The page frontmatter is:
143+
The page frontmatter is:
146144

147145
```md
148146
---
149147
permalinkPattern: :year/:month/:day/:slug.html
150148
---
151149
```
152150

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`.
154152

155153
- Also see:
156154
- [Frontmatter > date](#date)

docs/zh/reference/frontmatter.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,11 @@ head:
121121
- 符合 `yyyy/MM/dd/foobar.md``yyyy/MM/foobar.md` 日期格式的目录名。
122122
- 默认值 `0000-00-00`
123123

124-
- 示例:
125-
126-
- 情况 1:
124+
- 示例 1 :
127125

128-
页面文件名是 `foo-bar.md`
126+
页面文件名是 `foo-bar.md`
129127

130-
页面 Frontmatter 是:
128+
页面 Frontmatter 是:
131129

132130
```md
133131
---
@@ -136,21 +134,21 @@ permalinkPattern: :year/:month/:day/:slug.html
136134
---
137135
```
138136

139-
那么页面的永久链接将会是 `2021/01/03/foo-bar.html` 。
137+
那么页面的永久链接将会是 `2021/01/03/foo-bar.html`
140138

141-
- 情况 2
139+
- 示例 2
142140

143-
页面文件名是 `2021-01-03-bar-baz.md`
141+
页面文件名是 `2021-01-03-bar-baz.md`
144142

145-
页面 Frontmatter 是:
143+
页面 Frontmatter 是:
146144

147145
```md
148146
---
149147
permalinkPattern: :year/:month/:day/:slug.html
150148
---
151149
```
152150

153-
那么页面的永久链接将会是 `2021/01/03/bar-baz.html` 。
151+
那么页面的永久链接将会是 `2021/01/03/bar-baz.html`
154152

155153
- 参考:
156154
- [Frontmatter > date](#date)

0 commit comments

Comments
 (0)