Skip to content

Commit 70ee8eb

Browse files
authored
Merge pull request #41156 from github/repo-sync
Repo sync
2 parents b21f95f + c5a9318 commit 70ee8eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/frame/lib/frontmatter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ export const schema: Schema = {
353353
// START category-landing tags
354354
category: {
355355
type: 'array',
356+
errorMessage: `must be an array, which is written in frontmatter like:
357+
category:
358+
- Category Name`,
356359
},
357360
complexity: {
358361
type: 'array',

0 commit comments

Comments
 (0)