Sha256: b2999b3ea09ad1de88d8deeac50183ea5950e55340740b270b619b9a06665cba

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

# Public name of this content type
name: Projects

# TODO: explain
slug: projects

# Explanation for the backoffice
description: A description of the content type for the editors

# Default field (e.g title)
label_field_name: name

# Order of entries
order_by: manually # default: manually, also available: created_at or any field slug

# Order direction
# order_direction: asc # default: asc, also available: desc

# Display entries grouped by <field> in the backoffice
# group_by: <your field>

# Activate public 'create' API (e.g for a contact form)
# public_submission_enabled: false

# Emails to be notified on new entries using the public API
# public_submission_accounts: ['john@acme.net']

# Describe each field. The name shoud always be an underscored string
fields:
- name: # Name of the field
    label: Name
    type: string
    required: true
    hint: A description of the field for the editors
    localized: false
    searchable: true

- category: # Name of the field
    label: Category
    type: belongs_to
    required: false
    hint: A description of the field for the editors
    # Slug of the target content type (eg post if this content type is a comment)
    class_name: categories

- description:
    label: Description
    type: text
    required: false
    hint: A description of the field for the editors
    localized: false
    text_formatting: html

- image: # Name of the field
    label: Image
    type: file
    required: true
    hint: A description of the field for the editors
    localized: false

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotivecms-search-0.3.6 spec/wagon/app/content_types/projects.yml
locomotivecms-search-0.3.5 spec/wagon/app/content_types/projects.yml
locomotivecms-search-0.3.4 spec/wagon/app/content_types/projects.yml
locomotivecms-search-0.3.3 spec/wagon/app/content_types/projects.yml