Skip to content

Instantly share code, notes, and snippets.

@robertcoopercode
Last active November 25, 2018 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robertcoopercode/b8ce34a87c4218ee599d7f4c70ca0642 to your computer and use it in GitHub Desktop.
Save robertcoopercode/b8ce34a87c4218ee599d7f4c70ca0642 to your computer and use it in GitHub Desktop.
...
collections:
- name: "meetups"
label: "Meetups"
description: "Meetup dates, location, and presenter information."
folder: "src/pages/meetups"
create: true
fields:
- { label: "Template Key", name: "templateKey", widget: "hidden", default: "meetup" }
- { label: "Title", name: "title", widget: "string" }
- { label: "Date", name: "date", widget: "datetime" }
- {
label: Presenters,
name: presenters,
required: true,
widget: list,
fields:
[
{ label: Name, name: name, required: true, widget: string },
{
label: Presentation Title,
name: presentationTitle,
required: false,
widget: string,
},
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment