Posts

This commit is contained in:
2024-01-21 10:34:27 +08:00
parent 911aec4f43
commit fcfbb6118f
14 changed files with 207 additions and 21 deletions

View File

@@ -33,7 +33,6 @@ const Event: Collection = {
type: "string",
label: "Description",
name: "description",
required: true,
},
{
type: "datetime",

View File

@@ -23,17 +23,17 @@ const Post: Collection = {
name: "heroImg",
label: "Hero Image",
},
{
type: "rich-text",
label: "Excerpt",
name: "excerpt",
},
{
type: "reference",
label: "Author",
name: "author",
collections: ["author"],
},
{
type: "string",
label: "Description",
name: "description",
},
{
type: "datetime",
label: "Published Date",