From 4587504d3b5251588959c9318d555dcf3cac692e Mon Sep 17 00:00:00 2001 From: aloxe Date: Mon, 9 Dec 2024 07:25:42 +0100 Subject: [PATCH] add example pages in CMS config --- src/_assets/public/admin/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/_assets/public/admin/config.yml b/src/_assets/public/admin/config.yml index 34baacd..9d4d35d 100644 --- a/src/_assets/public/admin/config.yml +++ b/src/_assets/public/admin/config.yml @@ -39,9 +39,9 @@ collections: - label: "Body" name: "body" widget: "markdown" - - name: "singlepage" # Used in routes, e.g., /admin/collections/blog - label: "Single page" # Used in the UI - folder: "src/pages/singlepage" # The path to the folder where the documents are stored + - name: "examples" # Used in routes, e.g., /admin/collections/blog + label: "Examples" # Used in the UI + folder: "src/pages/examples" # The path to the folder where the documents are stored # about media and public folder https://decapcms.org/docs/collection-folder/#media-and-public-folder media_folder: '' public_folder: '/{{dirname}}/{{filename}}' @@ -57,6 +57,9 @@ collections: - label: "subtitle" name: "subtitle" widget: "string" + - label: "description" + name: "description" + widget: "string" - label: "Body" name: "body" widget: "markdown"