Created
December 8, 2023 08:18
-
-
Save estruyf/a8631a42a66e2afb185f9dbd06944a5a to your computer and use it in GitHub Desktop.
Front Matter CMS configuration for Bubblegum Theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://beta.frontmatter.codes/frontmatter.schema.json", | |
"frontMatter.taxonomy.contentTypes": [ | |
{ | |
"name": "project", | |
"pageBundle": false, | |
"filePrefix": null, | |
"fields": [ | |
{ | |
"title": "title", | |
"name": "title", | |
"type": "string" | |
}, | |
{ | |
"title": "description", | |
"name": "description", | |
"type": "string" | |
}, | |
{ | |
"title": "date", | |
"name": "date", | |
"type": "datetime" | |
}, | |
{ | |
"title": "url", | |
"name": "url", | |
"type": "string" | |
}, | |
{ | |
"title": "draft", | |
"name": "draft", | |
"type": "draft" | |
} | |
] | |
}, | |
{ | |
"name": "blog", | |
"pageBundle": false, | |
"filePrefix": null, | |
"fields": [ | |
{ | |
"title": "title", | |
"name": "title", | |
"type": "string" | |
}, | |
{ | |
"title": "description", | |
"name": "description", | |
"type": "string" | |
}, | |
{ | |
"title": "date", | |
"name": "date", | |
"type": "datetime", | |
"default": "{{now}}", | |
"dateFormat": "yyyy-MM-dd" | |
}, | |
{ | |
"title": "external", | |
"name": "external", | |
"type": "boolean" | |
}, | |
{ | |
"title": "draft", | |
"name": "draft", | |
"type": "draft" | |
} | |
] | |
} | |
], | |
"frontMatter.framework.id": "astro", | |
"frontMatter.preview.host": "http://localhost:3000", | |
"frontMatter.content.pageFolders": [ | |
{ | |
"title": "blog", | |
"path": "[[workspace]]/content/blog", | |
"contentTypes": ["blog"] | |
}, | |
{ | |
"title": "projects", | |
"path": "[[workspace]]/content/projects", | |
"contentTypes": ["project"] | |
} | |
], | |
"frontMatter.content.publicFolder": "public" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment