Tags & Categories

This commit is contained in:
2024-01-21 17:07:34 +08:00
parent fcfbb6118f
commit 2bd6b8758b
13 changed files with 179 additions and 60 deletions

View File

@@ -43,6 +43,27 @@ const Post: Collection = {
timeFormat: "hh:mm A",
},
},
{
label: "Categories",
name: "categories",
type: "string",
list: true,
},
{
label: "Tags",
name: "tags",
type: "string",
list: true,
},
{
label: "Type",
name: "type",
type: "string",
// @ts-ignore
component: "select",
options: ["article", "podcast", "announcement"],
list: true,
},
{
type: "rich-text",
label: "Body",

File diff suppressed because one or more lines are too long