From 0c04d4fb54fd597b11efae170168791216b5e019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Fern=C3=A1ndez?= <62525511+andresf91@users.noreply.github.com> Date: Mon, 27 Jun 2022 21:51:00 -0300 Subject: [PATCH] [#39] FIX: NetlifyCMS using "pages" folder I changed NetlifyCMS config file so that it uses the content/pages folder, as that is the folder where pages are stored (https://spacebook.app/getting-started/content/index.htm). --- admin/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/config.yml b/admin/config.yml index 2ce5ac18..65be6cc3 100644 --- a/admin/config.yml +++ b/admin/config.yml @@ -31,7 +31,7 @@ collections: # Our pages e.g. About - name: "pages" label: "Page" - folder: "pages" + folder: "content/pages" create: true # Change to true to allow editors to create new pages slug: "{{slug}}" fields: @@ -73,4 +73,4 @@ collections: - {label: "Enable Netlify CMS", name: "enableNetlifyCMS", widget: "boolean", default: false} - {label: "Enable comments", name: "enableComments", widget: "boolean", default: false} - {label: "Enable encryption", name: "enableEncryption", widget: "boolean", default: false} - - {label: "Enable page navigation", name: "enablePageNavigation", widget: "boolean", default: false} \ No newline at end of file + - {label: "Enable page navigation", name: "enablePageNavigation", widget: "boolean", default: false}