From f562450bd812b64c3eca1238faa8e76cb9d0ea89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Tue, 2 May 2023 09:21:33 +0200 Subject: [PATCH] Remove draft field from the Frontmatter config --- frontmatter.json | 24 +++++++++++++++++------- src/content/blog/first-post.md | 1 - 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/frontmatter.json b/frontmatter.json index e21f352..8658c1b 100644 --- a/frontmatter.json +++ b/frontmatter.json @@ -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" + ] } diff --git a/src/content/blog/first-post.md b/src/content/blog/first-post.md index 67de113..550bdea 100644 --- a/src/content/blog/first-post.md +++ b/src/content/blog/first-post.md @@ -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