Skip to content

Instantly share code, notes, and snippets.

@estruyf
Created December 8, 2023 08:18
Show Gist options
  • Save estruyf/a8631a42a66e2afb185f9dbd06944a5a to your computer and use it in GitHub Desktop.
Save estruyf/a8631a42a66e2afb185f9dbd06944a5a to your computer and use it in GitHub Desktop.
Front Matter CMS configuration for Bubblegum Theme
{
"$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