forked from mdn/translated-content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
front-matter-config.json
48 lines (48 loc) · 1.46 KB
/
front-matter-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"lineWidth": -1,
"schema": {
"title": "Front matter schema",
"type": "object",
"additionalProperties": false,
"required": ["title", "slug"],
"properties": {
"title": {
"title": "Title",
"description": "Rendered page title and for SEO",
"type": "string",
"maxLength": 120
},
"short-title": {
"title": "Short Title",
"description": "To be used in sidebars",
"type": "string",
"maxLength": 60
},
"slug": {
"title": "slug",
"description": "URL path of the page",
"type": "string"
},
"original_slug": {
"title": "Original slug",
"description": "URL path of the page before it was moved to /conflicting or /orphaned (Note: this key should ONLY be present in those two folders)",
"type": "string"
},
"l10n": {
"title": "Localization info",
"description": "Metadata about the localization",
"type": "object",
"properties": {
"sourceCommit": {
"title": "Source commit",
"description": "The full commit hash of the commit from upstream this localization is synchronized with. Used to track changes between upstream and localization.",
"type": "string"
}
},
"additionalProperties": false,
"required": ["sourceCommit"]
}
}
},
"attribute-order": ["title", "short-title", "slug", "l10n"]
}