Created
November 24, 2014 09:58
-
-
Save did/871289d29c48f03a73bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Human readable name of this type | |
name: Courses | |
# Lowercase, underscored handle used to access this type | |
slug: courses | |
# Explanatory text displayed in the back-office | |
description: A description of the content type for the editors | |
# Slug of field used to identify entries by default, such as the title | |
label_field_name: title | |
# Valid values: manually, created_at, updated_at, or the slug of any field | |
order_by: manually | |
# Valid values: asc (ascending) and desc (descending). Set to asc by default. | |
# order_direction: asc | |
# Specify a field slug to group entries by that field in the back-office. | |
# group_by: <your field> | |
# Activate public 'create' API (e.g for a contact form) | |
# public_submission_enabled: false | |
# Array of emails to be notified of new entries made with the public API | |
# public_submission_accounts: ['[email protected]'] | |
# A list describing each field | |
fields: | |
- title: # The lowercase, underscored name of the field | |
label: Title # Human readable name of the field | |
type: string | |
required: true | |
hint: Explanatory text displayed in the back office | |
localized: false | |
searchable: false | |
- videos: | |
label: Videos | |
type: has_many | |
class_name: videos | |
ui_enabled: false | |
inverse_of: course |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment