mirror of
https://github.com/CompeyDev/blog.devcomp.xyz.git
synced 2024-12-12 04:40:41 +00:00
62 lines
1.4 KiB
JSON
62 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
|
|
"frontMatter.framework.id": "astro",
|
|
"frontMatter.preview.host": "http://localhost:4321",
|
|
"frontMatter.content.publicFolder": "public",
|
|
"frontMatter.content.pageFolders": [
|
|
{
|
|
"title": "posts",
|
|
"path": "[[workspace]]/src/content/posts"
|
|
}
|
|
],
|
|
"frontMatter.taxonomy.contentTypes": [
|
|
{
|
|
"name": "default",
|
|
"pageBundle": true,
|
|
"previewPath": "'blog'",
|
|
"filePrefix": null,
|
|
"clearEmpty": true,
|
|
"fields": [
|
|
{
|
|
"title": "title",
|
|
"name": "title",
|
|
"type": "string",
|
|
"single": true
|
|
},
|
|
{
|
|
"title": "description",
|
|
"name": "description",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "published",
|
|
"name": "published",
|
|
"type": "datetime",
|
|
"default": "{{now}}",
|
|
"isPublishDate": true
|
|
},
|
|
{
|
|
"title": "preview",
|
|
"name": "image",
|
|
"type": "image",
|
|
"isPreviewImage": true
|
|
},
|
|
{
|
|
"title": "tags",
|
|
"name": "tags",
|
|
"type": "list"
|
|
},
|
|
{
|
|
"title": "category",
|
|
"name": "category",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "draft",
|
|
"name": "draft",
|
|
"type": "boolean"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|