mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-25 20:48:50 +02:00
feat(pages): Support frontMatter.slug
like docs and blog plugins (#11088)
This commit is contained in:
parent
ac0a6f7d5b
commit
5b944d6b64
8 changed files with 23 additions and 9 deletions
|
@ -22,6 +22,7 @@ const PageFrontMatterSchema = Joi.object<PageFrontMatter>({
|
|||
description: Joi.string().allow(''),
|
||||
keywords: Joi.array().items(Joi.string().required()),
|
||||
image: URISchema,
|
||||
slug: Joi.string(),
|
||||
wrapperClassName: Joi.string(),
|
||||
hide_table_of_contents: Joi.boolean(),
|
||||
...FrontMatterTOCHeadingLevels,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue