Saved: 2018-03-06 18:51
Torey Heinz
committed Mar 07, 2018
commit 756270e453fa1cdc8be8764ccb9f9c374383b8bc
Showing 2
changed files with
0 additions
and 89 deletions
app/content_types/projects.yml
+0
-73
| @@ | @@ -1,73 +0,0 @@ |
| - | # Human readable name of this type |
| - | name: Projects |
| - | |
| - | # Lowercase, underscored handle used to access this type |
| - | slug: projects |
| - | |
| - | # 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: ['john@example.com'] |
| - | |
| - | # Control the display of the content type in the back-office. |
| - | # display_settings: |
| - | # seo: false # display the SEO tab for the content entries |
| - | # advanced: false # display the Advanced tab for the content entries |
| - | # position: 1 # position in the sidebar menu |
| - | # hidden: false # hidden for authors? |
| - | |
| - | # By default, the back-office displays the _label property (see label_field_name) of the content entry. This can be modified by writing your own Liquid template below: |
| - | # entry_template: '<a href="{{ link }}">{{ entry._label }}</a>' # The default template |
| - | |
| - | # 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 |
| - | |
| - | - featured_image: # The lowercase, underscored name of the field |
| - | label: Featured image # Human readable name of the field |
| - | type: file |
| - | required: false |
| - | hint: Explanatory text displayed in the back office |
| - | localized: false |
| - | |
| - | - description: # The lowercase, underscored name of the field |
| - | label: Description # Human readable name of the field |
| - | type: text |
| - | required: false |
| - | hint: Explanatory text displayed in the back office |
| - | localized: false |
| - | # text_formatting: html # html (uses rich text editor), markdown or text (uses plain text editor) |
| - | |
| - | - images: |
| - | label: Images |
| - | type: has_many |
| - | class_name: project_images |
| - | inverse_of: project |
| - | |
| - | - services: |
| - | label: Services |
| - | type: many_to_many |
| - | class_name: services |
| - | inverse_of: projects |
| - | |
data/projects.yml
+0
-16
| @@ | @@ -1,16 +0,0 @@ |
| - | # - "Project 1": |
| - | # featured_image: /samples/000_0030.jpg |
| - | # description: "Ex in est est qui quaerat doloremque et. Sint architecto eveniet qui est ut quis eos. Nihil praesentium iste. Nobis reiciendis dolores. Error cumque culpa optio qui." |
| - | |
| - | # - "Project 2": |
| - | # featured_image: /samples/000_0034.jpg |
| - | # description: "Voluptates quas ullam. Autem quam ex iste vel. Enim molestias autem expedita." |
| - | |
| - | # - "Project 3": |
| - | # featured_image: /samples/000_0039.jpg |
| - | # description: "Quia maxime ut magni. Maiores illo autem et sequi. Tempore magni consequuntur aut sunt doloribus dolorem perspiciatis." |
| - | |
| - | # - "Project 4": |
| - | # featured_image: /samples/000_0045.jpg |
| - | # description: "Tenetur corporis quos dolorem qui reprehenderit. Alias velit facilis molestias ut eius sit. Quaerat ab minus iste. Voluptate sed iste possimus. Adipisci illo eum." |
| - | |