-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathfrontmatter.json
More file actions
228 lines (228 loc) · 6.66 KB
/
frontmatter.json
File metadata and controls
228 lines (228 loc) · 6.66 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.taxonomy.contentTypes": [
{
"name": "default",
"pageBundle": false,
"previewPath": null,
"fields": [
{
"title": "ID",
"name": "id",
"type": "string",
"single": true,
"description": "A unique document ID"
},
{
"title": "Title",
"name": "title",
"type": "string",
"single": true,
"description": "The text title of your document. Used for the page metadata and as a fallback value in multiple places (sidebar, next/previous buttons...). Automatically added at the top of your doc if it does not contain any Markdown title"
},
{
"title": "Description",
"name": "description",
"type": "string",
"description": "The description of your document, which will become the <meta name='description' content='...'/> and <meta property='og:description' content='...'/> in <head>, used by search engines",
"wysiwyg": "markdown"
},
{
"title": "Pagination Label",
"name": "pagination_label",
"type": "string",
"single": true,
"description": "The text used in the document next/previous buttons for this document",
"wysiwyg": "markdown"
},
{
"title": "Sidebar Label",
"name": "sidebar_label",
"type": "string",
"single": true,
"description": "The text shown in the document sidebar for this document",
"wysiwyg": "markdown"
},
{
"title": "Sidebar Position",
"name": "sidebar_position",
"type": "number",
"description": "Controls the position of a doc inside the generated sidebar slice when using autogenerated sidebar items. See also Autogenerated sidebar metadata",
"wysiwyg": "markdown"
},
{
"title": "Sidebar Class Name",
"name": "sidebar_class_name",
"type": "string",
"single": true,
"description": "Gives the corresponding sidebar label a special class name when using autogenerated sidebars",
"wysiwyg": "markdown"
},
{
"title": "Sidebar Key",
"name": "sidebar_key",
"type": "string",
"single": true,
"description": "Gives the corresponding sidebar item a key to uniquely identify the sidebar item. This is mostly useful for i18n sites to generate unique translation keys for categories sharing the same labels. An error will tell you when this extra metadata is needed",
"wysiwyg": "markdown"
},
{
"title": "Sidebar Custom Props",
"name": "sidebar_custom_props",
"type": "string",
"wysiwyg": "markdown"
},
{
"title": "Publishing Date",
"name": "date",
"type": "datetime",
"default": "{{now}}",
"isPublishDate": true
},
{
"name": "divider",
"type": "divider"
},
{
"title": "Content Preview",
"name": "preview",
"type": "image"
},
{
"title": "Image",
"name": "image",
"type": "image",
"description": "Cover or thumbnail image that will be used as the <meta property='og:image' content='...'/> in the <head>, enhancing link previews on social media and messaging platforms"
},
{
"name": "divider",
"type": "divider"
},
{
"title": "Is in Draft?",
"name": "draft",
"type": "draft"
},
{
"title": "Hide Table Of Contents?",
"name": "hide_table_of_contents",
"type": "boolean"
},
{
"name": "divider",
"type": "divider"
},
{
"title": "Tags",
"name": "tags",
"type": "tags"
},
{
"title": "Categories",
"name": "categories",
"type": "categories"
}
]
}
],
"frontMatter.framework.id": "docusaurus",
"frontMatter.content.publicFolder": "[[workspace]]",
"frontMatter.preview.host": "http://localhost:3000",
"frontMatter.content.pageFolders": [
{
"title": "Blog",
"path": "[[workspace]]/blog"
},
{
"title": "Docs",
"path": "[[workspace]]/docs"
}
],
"frontMatter.data.files": [
{
"id": "authors",
"title": "Authors",
"file": "[[workspace]]/blog/authors.json",
"fileType": "json",
"labelField": "name",
"singleEntry": false,
"schema": {
"title": "Authors",
"type": "object",
"required": ["name"],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"title": {
"type": "string",
"title": "Title"
},
"image_url": {
"type": "string",
"title": "Image URL"
},
"website": {
"type": "string",
"title": "Website"
},
"socials": {
"type": "object",
"title": "Socials",
"properties": {
"github": {
"type": "string",
"title": "GitHub"
},
"email": {
"type": "string",
"title": "Email"
},
"linkedin": {
"type": "string",
"title": "Linkedin"
},
"youtube": {
"type": "string",
"title": "YouTube"
},
"telegram": {
"type": "string",
"title": "Telegram"
},
"x": {
"type": "string",
"title": "X"
},
"moddb": {
"type": "string",
"title": "ModDB"
},
"amk": {
"type": "string",
"title": "AMK"
},
"ap-pro": {
"type": "string",
"title": "AP-PRO"
},
"vk": {
"type": "string",
"title": "VK"
},
"discord_server": {
"type": "string",
"title": "Discord Server"
},
"discord_username": {
"type": "string",
"title": "Discord Username"
}
}
}
}
}
}
]
}