Interface: PageFrontMatter
Extends
Record
<string
,any
>
Extended by
Properties
albums
albums:
Album
[]
@description:en-US Albums @description:zh-CN 相册
Defined in
packages/valaxy/types/frontmatter/page.ts:146
aplayer
aplayer:
boolean
use aplayer
Url
Defined in
packages/valaxy/types/frontmatter/page.ts:125
aside
aside:
boolean
display right sidebar
Description
是否显示右侧侧边栏
Defined in
packages/valaxy/types/frontmatter/page.ts:85
author
author:
string
Description
Author @description:zh-CN 作者
Defined in
packages/valaxy/types/frontmatter/page.ts:55
codeHeightLimit?
optional
codeHeightLimit:number
@description:en-US Limit the height of the code block in px @description:zh-CN 限制代码块的高度,单位是 px
Defined in
packages/valaxy/types/frontmatter/page.ts:185
codepen
codepen:
boolean
use codepen
Url
Defined in
packages/valaxy/types/frontmatter/page.ts:135
color
color:
string
title color
Deprecated
Please use pageTitleClass
| postTitleClass
instead
Defined in
packages/valaxy/types/frontmatter/page.ts:109
comment
comment:
boolean
display comment
Defined in
packages/valaxy/types/frontmatter/page.ts:113
copyright
copyright:
boolean
Copyright
Description
是否显示文章底部版权信息
Defined in
packages/valaxy/types/frontmatter/page.ts:66
cover
cover:
string
cover
Description
封面图片
Defined in
packages/valaxy/types/frontmatter/page.ts:75
date
date:
string
|number
|Date
Defined in
packages/valaxy/types/frontmatter/page.ts:41
encrypt
encrypt:
boolean
@description:zh-CN 是否启用加密,password 存在时默认为 true
Defined in
packages/valaxy/types/frontmatter/page.ts:157
encryptedContent?
optional
encryptedContent:string
En
Description
encrypted content
@description:zh-CN 加密后的内容
Defined in
packages/valaxy/types/frontmatter/page.ts:172
encryptedPhotos?
optional
encryptedPhotos:string
@description:zh-CN 加密后的相册
Defined in
packages/valaxy/types/frontmatter/page.ts:180
end
end:
boolean
post is end
Description
是否完结,将在末尾添加衬线字体 Q.E.D.
Defined in
packages/valaxy/types/frontmatter/page.ts:118
from?
optional
from:string
|string
[]
@description:en-US Source path for client redirection @description:zh-CN 客户端重定向的源路径
Defined in
packages/valaxy/types/frontmatter/page.ts:190
gallery_password?
optional
gallery_password:string
@description:zh-CN 相册密码
Defined in
packages/valaxy/types/frontmatter/page.ts:165
icon
icon:
string
icon before title
Description
标题前的图标
Defined in
packages/valaxy/types/frontmatter/page.ts:104
image
image:
NodeRelations
<string
|ImageObject
>
Defined in
packages/valaxy/types/frontmatter/page.ts:69
katex
katex:
boolean
use katex
Url
Defined in
packages/valaxy/types/frontmatter/page.ts:130
lang
lang:
string
i18n
Defined in
packages/valaxy/types/frontmatter/page.ts:49
markdownClass
markdownClass:
string
@description:en-US Custom Markdown class @description:zh-CN 自定义 Markdown 样式
Default
'markdown-body'
Defined in
packages/valaxy/types/frontmatter/page.ts:92
medium_zoom
medium_zoom:
boolean
use medium-zoom
Url
https://github.com/francoischalifour/medium-zoom
Defined in
packages/valaxy/types/frontmatter/page.ts:140
pageTitleClass
pageTitleClass:
string
@description:en-US Post title class @description:zh-CN 文章标题样式
Defined in
packages/valaxy/types/frontmatter/page.ts:98
partiallyEncryptedContents?
optional
partiallyEncryptedContents:string
[]
@description:zh-CN 部分加密的内容
Defined in
packages/valaxy/types/frontmatter/page.ts:176
password?
optional
password:string
@description:zh-CN 加密密码
Defined in
packages/valaxy/types/frontmatter/page.ts:161
path
path:
string
Path of post route.path
Description
路径
Defined in
packages/valaxy/types/frontmatter/page.ts:35
photos
photos:
Photo
[]
For layout Gallery @description:en-US Photos
Defined in
packages/valaxy/types/frontmatter/page.ts:152
sponsor
sponsor:
boolean
Display sponsor info
Description
是否开启赞助
Defined in
packages/valaxy/types/frontmatter/page.ts:61
title
title:
string
Title
Description
文章标题
Defined in
packages/valaxy/types/frontmatter/page.ts:40
toc
toc:
boolean
display toc
Description
是否显示目录
Defined in
packages/valaxy/types/frontmatter/page.ts:80
updated
updated:
string
|number
|Date
Updated Time