-
Notifications
You must be signed in to change notification settings - Fork 11
/
front-matter.json
102 lines (102 loc) · 3.79 KB
/
front-matter.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"type": "object",
"required": ["title", "layout"],
"properties": {
"layout": {
"description": "Which layout template to use.",
"type": "string",
"enum": ["page", "post", "til"]
},
"title": {
"description": "The title of the page or the post.",
"type": "string"
},
"date": {
"description": "When this page or post was created.",
"type": "string",
"pattern": "\\d\\d\\d\\d-\\d\\d-\\d\\d( \\d\\d:\\d\\d:\\d\\d [+\\-]\\d\\d\\d\\d)?",
"format": "date"
},
"date_updated": {
"description": "When this page or post was last updated.",
"type": "string",
"pattern": "\\d\\d\\d\\d-\\d\\d-\\d\\d( \\d\\d:\\d\\d:\\d\\d [+\\-]\\d\\d\\d\\d)?",
"format": "date"
},
"summary": {
"description": "A short description of the page or post. This is used for the <meta> tags and social media previews.",
"type": "string"
},
"tags": {
"description": "A space-separated list of tags for this page or post.",
"type": "array",
"items": {"type": "string"}
},
"link": {
"description": "An external page that this page should link to, like a link blog. This is used on the HTML version of the page, and where clicking on the RSS feed entry will take the reader.",
"type": "string"
},
"colors": {
"description": "Colours used to theme/style this individual page or post.",
"type": "object",
"properties": {
"css_light": {
"pattern": "#[0-9a-fA-F]{6}",
"type": "string"
},
"css_dark": {
"pattern": "#[0-9a-fA-F]{6}",
"type": "string"
},
"index_light": {
"pattern": "#[0-9a-fA-F]{6}",
"type": "string"
},
"index_dark": {
"pattern": "#[0-9a-fA-F]{6}",
"type": "string"
}
}
},
"index": {
"description": "Affects how an individual page or post appears in the site-wide indexes.",
"type": "object",
"properties": {
"exclude": {
"description": "Whether to exclude this post from the site-wide index.",
"type": "boolean"
},
"feature": {
"description": "Whether to feature this article on the homepage",
"type": "boolean"
}
},
"additionalProperties": false
},
"meta": {
"description": "Used on pages for miscellaneous information. Deprecated; should be replaced by purpose-named fields.",
"type": "array",
"items": {
"type": "string"
}
},
"nav_section": {
"description": "Which section of the site this page/post belongs to.",
"type": "string",
"enum": ["articles", "til", "contact"]
},
"card_image": {
"description": "Complete path to an image that should be used in link previews on social media, e.g. Twitter cards or OpenGraph metadata.",
"type": "string"
},
"card_attribution": {
"description": "Any attribution information about the photo used for the card.",
"type": "string"
},
"excerpt_separator": {
"description": "Unused except to suppress a Jekyll warning",
"type": "string"
}
},
"additionalProperties": false
}