mirror of https://github.com/YunYouJun/valaxy
docs: fix PageFrontmatter link
This commit is contained in:
parent
40d3f31a3a
commit
8a13c4223c
|
@ -19,7 +19,7 @@ You can custom page by front-matter.
|
|||
|
||||
更多配置项可参见:
|
||||
|
||||
- 页面配置:[PostFrontmatter](https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/posts.ts#L144)
|
||||
- 页面(Page)配置:[PageFrontmatter](https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/posts.ts#L27)
|
||||
|
||||
:::
|
||||
|
||||
|
|
|
@ -9,6 +9,15 @@ categories:
|
|||
|
||||
## FrontMatter
|
||||
|
||||
::: tip
|
||||
|
||||
更多配置项可参见:
|
||||
|
||||
- 文章(Post)配置:[PostFrontmatter](https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/posts.ts#L144) (文章配置包含页面配置)
|
||||
- 页面(Page)配置:[PageFrontmatter](https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/posts.ts#L27)
|
||||
|
||||
:::
|
||||
|
||||
::: zh-CN
|
||||
**文章**(`post`)继承自**页面**(`page`),因此**页面**中的 Front Matter 通用被**文章**支持。
|
||||
|
||||
|
@ -56,15 +65,6 @@ hide: true
|
|||
|
||||
:::
|
||||
|
||||
::: tip
|
||||
|
||||
更多配置项可参见:
|
||||
|
||||
- 文章配置:[PostFrontmatter](https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/posts.ts#L144) (文章配置包含页面配置)
|
||||
- 页面配置:[PageFrontmatter](https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/posts.ts#L27)
|
||||
|
||||
:::
|
||||
|
||||
## 摘要 {lang="zh-CN"}
|
||||
|
||||
::: zh-CN
|
||||
|
|
Loading…
Reference in New Issue