116 lines
2.6 KiB
JSON
116 lines
2.6 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": "blog",
|
|
"path": "[[workspace]]/src/content/posts"
|
|
},
|
|
{
|
|
"title": "projects",
|
|
"path": "[[workspace]]/src/content/projects"
|
|
}
|
|
],
|
|
"frontMatter.taxonomy.contentTypes": [
|
|
{
|
|
"name": "default",
|
|
"pageBundle": false,
|
|
"previewPath": "'posts'",
|
|
"filePrefix": null,
|
|
"clearEmpty": true,
|
|
"fields": [
|
|
{
|
|
"title": "Title",
|
|
"name": "title",
|
|
"type": "string",
|
|
"single": true
|
|
},
|
|
{
|
|
"title": "Description",
|
|
"name": "description",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "Author",
|
|
"name": "author",
|
|
"type": "string",
|
|
"single": true
|
|
},
|
|
{
|
|
"title": "Publishing date",
|
|
"name": "pubDate",
|
|
"type": "datetime",
|
|
"default": "{{now}}",
|
|
"isPublishDate": true
|
|
},
|
|
{
|
|
"title": "Hero image",
|
|
"name": "heroImage",
|
|
"type": "image",
|
|
"isPreviewImage": true
|
|
},
|
|
{
|
|
"title": "Tags",
|
|
"name": "tags",
|
|
"type": "tags"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "project",
|
|
"pageBundle": false,
|
|
"previewPath": "'projects'",
|
|
"filePrefix": null,
|
|
"clearEmpty": true,
|
|
"fields": [
|
|
{
|
|
"title": "Name",
|
|
"name": "name",
|
|
"type": "string",
|
|
"single": true
|
|
},
|
|
{
|
|
"title": "Description",
|
|
"name": "description",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "URL",
|
|
"name": "url",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"title": "Publishing date",
|
|
"name": "pubDate",
|
|
"type": "datetime",
|
|
"default": "{{now}}",
|
|
"isPublishDate": true
|
|
},
|
|
{
|
|
"title": "Hero image",
|
|
"name": "heroImage",
|
|
"type": "image",
|
|
"isPreviewImage": true
|
|
},
|
|
{
|
|
"title": "Tags",
|
|
"name": "tags",
|
|
"type": "tags"
|
|
},
|
|
{
|
|
"title": "Featured",
|
|
"name": "featured",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"title": "Link only",
|
|
"name": "linkOnly",
|
|
"type": "boolean"
|
|
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |