fix(content-pages): declare hide_table_of_contents as boolean (#6413)

This commit is contained in:
Joshua Chen 2022-01-20 10:58:36 +08:00 committed by GitHub
parent d296f44031
commit 19fb337618
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ const PageFrontMatterSchema = Joi.object<FrontMatter>({
title: Joi.string(),
description: Joi.string(),
wrapperClassName: Joi.string(),
hide_table_of_contents: Joi.string(),
hide_table_of_contents: Joi.boolean(),
...FrontMatterTOCHeadingLevels,
});