We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
zh-CN
1 parent b26be33 commit d17b403Copy full SHA for d17b403
packages/docs/docs/zh/guide/frontmatter.md
@@ -4,9 +4,13 @@
4
5
```markdown
6
---
7
-title: Blogging Like a Hacker
8
-lang: en-US
+title: Blogging with VuePress
+lang: zh-CN
9
10
+
11
+#{{$frontmatter.title }}
12
13
+My blog post is written in{{$frontmatter.lang }}.
14
```
15
16
在这些三条虚线之间,你可以设置预定义变量(参见[下面](#预定义变量)),甚至可以创建自己的自定义变量。 然后,您可以使用 <code> [$frontmatter](global-computed.md#frontmatter)</code> 在页面的其余部分、以及所有的自定义和主题组件访问这些变量。
0 commit comments