-
Notifications
You must be signed in to change notification settings - Fork 0
/
frontmatter.json
122 lines (122 loc) · 2.65 KB
/
frontmatter.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.preview.host": "http://localhost:5173/",
"frontMatter.content.autoUpdateDate": false,
"frontMatter.content.fmHighlight": true,
"frontMatter.dashboard.openOnStart": false,
"frontMatter.framework.startCommand": "npm run dev",
"frontMatter.taxonomy.seoDescriptionField": "excerpt",
"frontMatter.taxonomy.contentTypes": [
{
"name": "Article",
"pageBundle": false,
"previewPath": null,
"fields": [
{
"title": "Slug",
"name": "slug",
"type": "slug",
"default": "{{slug}}"
},
{
"title": "Title",
"name": "title",
"type": "string"
},
{
"title": "Excerpt",
"name": "excerpt",
"type": "string"
},
{
"title": "Cover Image",
"name": "coverImage",
"type": "image",
"isPreviewImage": true
},
{
"title": "Cover Image Alt Text",
"name": "coverImageAlt",
"type": "string"
},
{
"title": "Show Cover Image",
"name": "showImage",
"type": "boolean",
"description": "Whether to actually show the cover image on the page or just use it as a preview for social media links"
},
{
"title": "Social Image",
"name": "socialImage",
"type": "image",
"description": "Image to use when sharing on social media. If not provided, the cover image will be used instead."
},
{
"title": "Publish Date",
"name": "date",
"type": "datetime",
"default": "{{now}}",
"isPublishDate": true
},
{
"title": "Last modified date",
"name": "updated",
"type": "datetime",
"isModifiedDate": true
},
{
"title": "Show Table of Contents",
"name": "showToc",
"type": "boolean",
"default": false
},
{
"title": "Is hidden",
"name": "hidden",
"type": "draft",
"default": false
},
{
"title": "Tags",
"name": "tags",
"type": "tags"
},
{
"title": "Categories",
"name": "categories",
"type": "categories"
}
]
}
],
"frontMatter.taxonomy.fieldGroups": [
{
"id": "coloredTag",
"labelField": "label",
"fields": [
{
"title": "Label",
"name": "label",
"type": "string",
"single": true
},
{
"title": "Color",
"name": "color",
"type": "choice",
"choices": ["primary", "secondary"]
}
]
}
],
"frontMatter.framework.id": "other",
"frontMatter.content.publicFolder": "static/images",
"frontMatter.content.pageFolders": [
{
"title": "Articles",
"path": "[[workspace]]/cms/articles",
"contentTypes": ["Article"],
"filePrefix": "yyyy-MM-dd"
}
]
}