Skip to content

Commit

Permalink
🔧 update front matter config
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Fernandez <albertofdzm@gmail.com>
  • Loading branch information
AlbertoFdzM committed Oct 8, 2023
1 parent c26e54f commit 47cec1d
Showing 1 changed file with 36 additions and 35 deletions.
71 changes: 36 additions & 35 deletions frontmatter.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.framework.id": "next",
"frontMatter.content.publicFolder": "public",
"frontMatter.content.autoUpdateDate": true,
"frontMatter.git.enabled": true,
"frontMatter.git.commitMessage": "✍️ update content by Front Matter",
"frontMatter.preview.host": "http://localhost:3000",
"frontMatter.framework.startCommand": "npm start",
"frontMatter.taxonomy.dateFormat": "yyyy-MM-dd",
"frontMatter.content.pageFolders": [
{
"title": "Posts",
Expand All @@ -21,6 +14,40 @@
"previewPath": "'/posts/'yyyy/MM"
}
],
"frontMatter.content.publicFolder": "public",
"frontMatter.data.files": [
{
"id": "authors",
"title": "Authors",
"file": "[[workspace]]/data/authors.json",
"fileType": "json",
"labelField": "nickname",
"schema": {
"title": "Authors",
"type": "object",
"required": ["name", "nickname"],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"nickname": {
"type": "string",
"title": "Nickname"
},
"twitterUsername": {
"type": "string",
"title": "Twitter Username"
}
}
}
}
],
"frontMatter.framework.id": "next",
"frontMatter.framework.startCommand": "npm start",
"frontMatter.git.enabled": true,
"frontMatter.git.commitMessage": "✍️ update content by Front Matter",
"frontMatter.preview.host": "http://localhost:3000",
"frontMatter.taxonomy.contentTypes": [
{
"name": "default",
Expand Down Expand Up @@ -95,34 +122,8 @@
]
}
],
"frontMatter.data.files": [
{
"id": "authors",
"title": "Authors",
"file": "[[workspace]]/data/authors.json",
"fileType": "json",
"labelField": "nickname",
"schema": {
"title": "Authors",
"type": "object",
"required": ["name", "nickname"],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"nickname": {
"type": "string",
"title": "Nickname"
},
"twitterUsername": {
"type": "string",
"title": "Twitter Username"
}
}
}
}
],
"frontMatter.taxonomy.dateFormat": "yyyy-MM-dd",
"frontMatter.taxonomy.seoDescriptionField": "summary",
"frontMatter.templates.prefix": "",
"frontMatter.website.host": "https://genomagames.com"
}

0 comments on commit 47cec1d

Please sign in to comment.