Skip to content

Commit

Permalink
Update beta-features.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart authored Feb 3, 2019
1 parent 385dcdd commit 3584e16
Showing 1 changed file with 7 additions and 29 deletions.
36 changes: 7 additions & 29 deletions website/content/docs/beta-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,35 +153,13 @@ init({
media_folder: "static/images/uploads",
public_folder: "/images/uploads",
collections: [
{
label: "Blog",
name: "blog",
folder: "_posts/blog",
create: true,
fields: [
{
label: "Title",
name: "title",
widget: "string"
},
{
label: "Publish Date",
name: "date",
widget: "datetime"
},
{
label: "Featured Image",
name: "thumbnail",
widget: "image"
},
{
label: "Body",
name: "body",
widget: "markdown"
}
]
},
]
{ label: "Blog", name: "blog", folder: "_posts/blog", create: true, fields: [
{ label: "Title", name: "title", widget: "string" },
{ label: "Publish Date", name: "date", widget: "datetime" },
{ label: "Featured Image", name: "thumbnail", widget: "image" },
{ label: "Body", name: "body", widget: "markdown" },
]},
],
},
})

Expand Down

0 comments on commit 3584e16

Please sign in to comment.