Skip to content

Commit fa764af

Browse files
authored
Enable audience frontmatter (#57529)
1 parent 7c87474 commit fa764af

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/frame/lib/frontmatter.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,13 @@ export const schema = {
169169
prefix: { type: 'string' },
170170
},
171171
},
172+
audience: {
173+
type: 'array',
174+
items: {
175+
type: 'string',
176+
enum: ['builder', 'driver'],
177+
},
178+
},
172179
// DEPRECATED: Use 'contentType' instead of 'type' for new content.
173180
// 'type' exists on ~40% of files but is used only for internal analytics.
174181
// Migration tool: src/content-render/scripts/add-content-type.ts

0 commit comments

Comments
 (0)