change cms collection order

Tom Rutgers committed Aug 18, 2018
commit 2f90078b8909df06cd6511d1527a9d71a7f15053
Showing 1 changed file with 13 additions and 12 deletions
source/admin/config.yml +13 -12
@@ @@ -8,18 +8,6 @@ public_folder: /images/uploads
#publish_mode: editorial_workflow #optional, enables publishing workflow
collections:
- #markdown middleman blog example
- - name: blog
- label: Blog
- folder: source/posts/
- create: true
- slug: '{{year}}-{{month}}-{{day}}-{{title}}'
- fields:
- - {label: Title, name: title, widget: string}
- - {label: Publish Date, name: date, widget: datetime}
- - {label: Description, name: description, widget: text}
- - {label: Body, name: body, widget: markdown}
-
#yaml middleman data example
- name: product
label: Product
@@ @@ -49,6 +37,19 @@ collections:
- {label: Body, name: body, widget: markdown}
+ #markdown middleman blog example
+ - name: blog
+ label: Blog
+ folder: source/posts/
+ create: true
+ slug: '{{year}}-{{month}}-{{day}}-{{title}}'
+ fields:
+ - {label: Title, name: title, widget: string}
+ - {label: Publish Date, name: date, widget: datetime}
+ - {label: Description, name: description, widget: text}
+ - {label: Image, name: image, widget: image}
+ - {label: Body, name: body, widget: markdown}
+
- name: pages
label: Pages
files: