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