From 8d28d8d2117e0386bb8bad510f18d426f1681366 Mon Sep 17 00:00:00 2001 From: Jinksi Date: Sat, 14 Oct 2017 16:19:19 +1000 Subject: [PATCH] Add Global Settings to config.yml --- public/admin/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/admin/config.yml b/public/admin/config.yml index 5f76acd..8e6cda2 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -7,6 +7,16 @@ media_folder: "public/images/uploads" # Media files will be stored in the repo u public_folder: "/images/uploads" # The src attribute for uploaded media will begin with /images/uploads collections: # A list of collections the CMS should be able to edit + - name: "settings" + label: "Settings" + editor: + preview: false + files: + - file: "content/settings/global.json" + label: "Global Settings" + name: "global-settings" + fields: + - {label: Site Title, name: siteTitle, widget: string} - name: "pages" label: "Pages" files: