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