Reorder config.yml pages

This commit is contained in:
Eric Jinks 2018-06-01 15:24:30 +10:00
parent 47dfdcca4d
commit 75bea5e685

View file

@ -14,24 +14,6 @@ collections: # A list of collections the CMS should be able to edit
editor:
preview: true
files:
- file: "content/pages/home.md"
label: "Home Page"
name: "home-page"
fields:
- {label: Title, name: title, widget: string}
- {label: Subtitle, name: subtitle, widget: markdown}
- {label: Body, name: body, widget: markdown}
- file: "content/pages/about.md"
label: "About Page"
name: "about-page"
fields:
- {label: Title, name: title, widget: string}
- {label: Subtitle, name: subtitle, widget: markdown}
- {label: Featured Image, name: featuredImage, widget: image}
- {label: Section 1, name: section1, widget: markdown}
- {label: Section 2, name: section2, widget: markdown}
- file: "content/pages/contact.md"
label: "Contact Page"
name: "contact-page"
@ -52,6 +34,24 @@ collections: # A list of collections the CMS should be able to edit
- {label: Subtitle, name: subtitle, widget: markdown}
- {label: Featured Image, name: featuredImage, widget: image}
- file: "content/pages/about.md"
label: "About Page"
name: "about-page"
fields:
- {label: Title, name: title, widget: string}
- {label: Subtitle, name: subtitle, widget: markdown}
- {label: Featured Image, name: featuredImage, widget: image}
- {label: Section 1, name: section1, widget: markdown}
- {label: Section 2, name: section2, widget: markdown}
- file: "content/pages/home.md"
label: "Home Page"
name: "home-page"
fields:
- {label: Title, name: title, widget: string}
- {label: Subtitle, name: subtitle, widget: markdown}
- {label: Body, name: body, widget: markdown}
- name: posts
label: Post