Remove draft field from the Frontmatter config

This commit is contained in:
Maciej Pędzich 2023-05-02 09:21:33 +02:00
parent 9178754d17
commit f562450bd8
2 changed files with 17 additions and 8 deletions

View File

@ -22,16 +22,15 @@
"default": "{{now}}",
"isPublishDate": true
},
{
"title": "Is draft?",
"name": "draft",
"type": "draft",
"default": true
},
{
"title": "Categories",
"name": "categories",
"type": "categories"
},
{
"title": "Tags",
"name": "tags",
"type": "tags"
}
]
}
@ -46,5 +45,16 @@
"previewPath": "/blog/{{pathToken.relPath}}/"
}
],
"frontMatter.taxonomy.categories": ["Dev Journal", "Miscellaneous"]
"frontMatter.taxonomy.categories": ["dev diary", "online race reports"],
"frontMatter.taxonomy.tags": [
"alpine",
"appwrite",
"astro",
"f1",
"nuxt",
"planetscale",
"primevue",
"supabase",
"vue"
]
}

View File

@ -4,7 +4,6 @@ description: Lorem ipsum dolor sit amet
pubDate: 2023-04-19T18:57:00.293Z
categories:
- dev diary
draft: false
tags:
- vue
- nuxt