From 75bea5e6852116623f3c31b64cde4e0a6132a841 Mon Sep 17 00:00:00 2001 From: Eric Jinks Date: Fri, 1 Jun 2018 15:24:30 +1000 Subject: [PATCH] Reorder config.yml pages --- public/admin/config.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/public/admin/config.yml b/public/admin/config.yml index 10c0af9..d91976c 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -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